Marco Martin
944c7e60dc
cache svg icons from icon theme
...
cache as well svg icons from the icon theme
(invalidating as well when the icon theme is updated)
REVIEW:127260
2016-04-04 17:47:30 +02:00
David Rosca
974a2b5071
FrameSvg: Fix dangling pointers in sharedFrames when theme changes
...
Store theme pointer in FrameData and set it when adding to sharedFrames.
REVIEW: 127344
2016-03-12 13:02:34 +01:00
David Rosca
fd46322300
IconItem: Schedule pixmap update when window changes
...
QQuickItem::polish is not called when window changes.
Regression from 344d04e230
REVIEW: 127342
2016-03-12 13:01:07 +01:00
David Rosca
46a1181587
IconItem: Animate active and enabled change even with animations disabled
...
animated: false should disable only animation when changing source,
we still want the hover and enabled animations.
Also fix docs.
REVIEW: 127302
2016-03-11 14:10:59 +01:00
Kai Uwe Broulik
344d04e230
[Icon Item] Don't animate from previous pixmap when it has been invisible
...
We have a lot of reusable singletons that are just hidden when not needed, such
as the OSD. IconItem, however, will always fade from the previous state, even if
the previous action happened minutes ago.
This fixes for example changing the volume and then later changing the brightness
where you could see the OSD animating from the volume icon.
REVIEW: 122859
2016-03-10 13:01:29 +01:00
Kai Uwe Broulik
3b115e6d90
[Icon Item] Don't call loadPixmap in setColorGroup
...
Changing the color group of an Svg emits repaintNeeded which will then
cause it to schedule a pixmap update anyway. Includes a unittest.
REVIEW: 127313
2016-03-10 12:58:18 +01:00
David Rosca
ab302872d3
Fix iconitem test - second try
2016-03-06 16:13:54 +01:00
David Rosca
fa1ca80281
Fix iconitem test
...
Icon name for QIcon must be from test-theme
2016-03-05 11:05:52 +01:00
David Rosca
978b8b3b87
IconItem: Don't overwrite source when using QIcon::name()
...
source should always return the same value as it was assigned.
Also removed duplicated code (empty sourceString is now handled
as if the source couldn't be converted to any type).
REVIEW: 127282
2016-03-04 23:44:57 +01:00
David Edmundson
929d1fe008
Add missing file for iconitem test
2016-03-04 15:50:10 +00:00
David Edmundson
531b7f3a95
Add unit test for loading QPixmaps and QImages into IconItem
...
REVIEW: 127269
2016-03-04 00:20:35 +00:00
David Rosca
37fde3974e
IconItemTest: Skip when grabToImage fails
2016-02-29 22:29:51 +01:00
David Rosca
30368e1d45
IconItem: Fix changing color of svg icons loaded from icon theme
...
Connect to repaintNeeded when creating Plasma::Svg.
REVIEW: 127207
2016-02-29 22:28:58 +01:00
Weng Xuetian
066cf0a0d7
Fix svg iconPath resolving in IconItem
...
This fixes iconPath is not correctly set when its size changes.
REVIEW: 127201
2016-02-29 13:05:48 -08:00
Aleix Pol
06c7b9c050
Remove some warnings
...
Unused variables
Unused code
Unused arguments
Unnecessarily complex code
Initialization order
Duplicated properties
REVIEW: 127214
2016-02-29 00:59:44 +01:00
Aleix Pol
9f62532674
Fix most of Clazy warnings in plasma-framework
...
REVIEW: 126672
2016-02-29 00:13:41 +01:00
David Rosca
3c8cb82d44
Fix build with Qt < 5.6
2016-02-28 10:36:57 +01:00
David Rosca
526915895b
Add autotests for IconItem
...
Add some tests for IconItem.
Also found one issue in animation when quickly changing source, first frame
will be rendered with wrong icon.
REVIEW: 127103
2016-02-27 21:24:45 +01:00
Martin Klapetek
76186339f6
[libplasma] Add categorized debug output
2015-12-15 16:56:40 -05:00
l10n daemon script
694131fdb6
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-14 12:52:39 +00:00
Marco Martin
d6dd74ce39
adjust test values
...
framesvg margins have been changed, influencing sizes
and pos of the dialog
Change-Id: I23b6a8416de8ec7c17b04b97a6c2772bd44b4d7b
2015-11-10 11:01:14 +01:00
l10n daemon script
01f4cf59ea
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-04 17:07:45 +00:00
l10n daemon script
c718ba4b48
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-08-26 10:19:25 +00:00
David Faure
396f9a656f
Use QBENCHMARK instead of a hard requirement on the machine's performance
...
https://build.kde.org/job/plasma-framework%20master%20kf5-qt5/PLATFORM=Linux,Variation=All,compiler=gcc/52/console
failed due to the CI machine being a bit slow/busy.
2015-08-01 13:45:29 +02:00
l10n daemon script
a989a77a0d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-03 10:14:00 +00:00
l10n daemon script
9ea35bd26d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-05-27 10:14:57 +00:00
l10n daemon script
7897780310
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-18 10:26:53 +00:00
l10n daemon script
b7e5392a7b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-19 09:50:52 +00:00
l10n daemon script
5265842028
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-14 10:19:38 +00:00
Kevin Funk
7e302a5236
Use Q_DECL_OVERRIDE where possible
...
REVIEW: 122542
2015-02-13 13:31:58 +01:00
l10n daemon script
03bae89ac5
SVN_SILENT made messages (.desktop file)
2015-02-04 08:58:49 +00:00
l10n daemon script
4b1970cf83
SVN_SILENT made messages (.desktop file)
2015-01-27 11:23:41 +00:00
Kevin Funk
9dda1204c8
Run convert-to-cmake-automoc.pl over files
2015-01-20 00:00:31 +01:00
Jan Kundrát
907e907e85
Hack: silence failing test on Qt 5.2
...
I guess nobody cares enough to debug why this fails on Qt 5.2, so let's
just silence this error blacklisting this particular test case on Qt
prior to 5.3.
I have no idea whether this is a good fix.
BUG: 342676
Change-Id: Ib53b70f740157e1a06383a9f0a78c3fccf5b930c
2015-01-14 16:37:10 +01:00
l10n daemon script
d255c63ce2
SVN_SILENT made messages (.desktop file)
2015-01-13 11:36:35 +00:00
l10n daemon script
1afbc2c461
SVN_SILENT made messages (.desktop file)
2015-01-02 09:15:04 +00:00
l10n daemon script
6f7a3ae9ea
SVN_SILENT made messages (.desktop file)
2014-12-30 10:48:32 +00:00
l10n daemon script
f64207f408
SVN_SILENT made messages (.desktop file)
2014-12-14 08:54:42 +00:00
l10n daemon script
819f1107c3
SVN_SILENT made messages (.desktop file)
2014-12-08 08:40:39 +00:00
l10n daemon script
d47e417e40
SVN_SILENT made messages (.desktop file)
2014-12-07 08:47:50 +00:00
l10n daemon script
96b26c8833
SVN_SILENT made messages (.desktop file)
2014-12-06 08:59:32 +00:00
l10n daemon script
cf3898f7a9
SVN_SILENT made messages (.desktop file)
2014-12-01 08:51:21 +00:00
l10n daemon script
2c65e911e8
SVN_SILENT made messages (.desktop file)
2014-11-06 08:50:22 +00:00
l10n daemon script
1a4b23f845
SVN_SILENT made messages (.desktop file)
2014-11-04 10:53:50 +00:00
Marco Martin
72b9a37fe9
fix test
...
Change-Id: Ib7698dfe3880e23355fd1c0acfcc3de2cc7c4d2d
2014-10-31 18:11:16 +01:00
l10n daemon script
150f24b30c
SVN_SILENT made messages (.desktop file)
2014-10-27 08:35:46 +00:00
l10n daemon script
4a4e3dc526
SVN_SILENT made messages (.desktop file)
2014-10-23 08:55:08 +00:00
Marco Martin
af207a6649
the margins are never disabled now
...
fix the test
Change-Id: I63d62bcf9cac45089f809a2e0ede01b067ca24b8
2014-10-22 18:42:28 +02:00
l10n daemon script
b65201b735
SVN_SILENT made messages (.desktop file)
2014-10-15 08:33:00 +00:00
Marco Martin
691905b1a1
fix the test
...
before 419b344b6
the size of the dialog was wrong, making positioning
of it actually different.
the new value, 71 is actually the correct one.
to make sure to catch similar cases, adds a test on the dialog size and margins as well
Change-Id: I035c66a6745e0e9f265f63cee450fec7a645654d
2014-10-11 20:58:34 +02:00