Commit Graph

6278 Commits

Author SHA1 Message Date
Aaron J. Seigo
6590d607fd cascade corona -> containment -> applet immutability
svn path=/trunk/KDE/kdelibs/; revision=1177862
2010-09-21 14:21:58 +00:00
Marco Martin
b53a6e5b0a items in groups no longer have any border
svn path=/trunk/KDE/kdelibs/; revision=1177842
2010-09-21 12:43:15 +00:00
Marco Martin
8e5a2533b5 save the state of tabBarShown: prevents tabbar to reappear when it shouldn't
svn path=/trunk/KDE/kdelibs/; revision=1177838
2010-09-21 12:19:43 +00:00
Aaron J. Seigo
b630dc66ff translate this comment a bit
svn path=/trunk/KDE/kdelibs/; revision=1177656
2010-09-20 19:48:45 +00:00
Aaron J. Seigo
9f7ce4026c make this consistent with pixmap() at least, but the multiple images handling still looks broken
svn path=/trunk/KDE/kdelibs/; revision=1177645
2010-09-20 19:42:38 +00:00
Marco Martin
6655948ccd IMPROVEMENT: when searcing for our hostApplet, always look for the extenders's applet before,
it is slightly faster and -partly- fixes the inability of detecting the host applet when it is an applet-in-applet, like the systray

svn path=/trunk/KDE/kdelibs/; revision=1177632
2010-09-20 19:25:30 +00:00
Marco Martin
7d00f6c756 fix takeTab behaviour
svn path=/trunk/KDE/kdelibs/; revision=1177582
2010-09-20 16:27:05 +00:00
Marco Martin
a80f50cf4d actually use pendingItems
svn path=/trunk/KDE/kdelibs/; revision=1177535
2010-09-20 13:34:12 +00:00
Andreas Hartmetz
18a7527784 Compile again, remove the duplicates.
svn path=/trunk/KDE/kdelibs/; revision=1177261
2010-09-19 22:18:45 +00:00
Marco Martin
ec9a6ad1ba FEATURE: allow to add actions with only text in the extender titlebar, they will appear as push buttons
svn path=/trunk/KDE/kdelibs/; revision=1177247
2010-09-19 21:28:39 +00:00
Andreas Hartmetz
83a9fc7f21 compile
svn path=/trunk/KDE/kdelibs/; revision=1177240
2010-09-19 20:48:01 +00:00
Marco Martin
5560dc2b14 if destroy is called when the extenderitem is being deleted already it could not have a scene
svn path=/trunk/KDE/kdelibs/; revision=1177229
2010-09-19 20:05:09 +00:00
Marco Martin
8992e628f8 delay itemAddedEvent at the end of the event loop:
if an item is added in a group right after creation, an itemAddedEvent shouldn't happen at all

svn path=/trunk/KDE/kdelibs/; revision=1177226
2010-09-19 19:47:23 +00:00
Script Kiddy
f16e46eb86 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1177049
2010-09-19 08:47:23 +00:00
Script Kiddy
ed9e481f7e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1176262
2010-09-17 08:23:48 +00:00
Giulio Camuffo
8c3ab81d2f fixed the calculation of the height
svn path=/trunk/KDE/kdelibs/; revision=1176062
2010-09-16 14:13:09 +00:00
Aaron J. Seigo
fd6d284ab7 install to the right location
svn path=/trunk/KDE/kdelibs/; revision=1175933
2010-09-16 07:35:35 +00:00
Marco Martin
bddd511086 when the config is changed, the config skeleton has to reload the config from the config group again
svn path=/trunk/KDE/kdelibs/; revision=1175737
2010-09-15 18:51:42 +00:00
Aaron J. Seigo
9300be394e setting it directly works as well, and doesn't require dipping into QCoreApplication's API
svn path=/trunk/KDE/kdelibs/; revision=1175312
2010-09-14 17:41:10 +00:00
Aaron J. Seigo
1fc68e3ef9 IMPROVEMENT: add a clicked() slot (which just backends on to animateClick()), and make setChecked a slot like it is in the native widget
svn path=/trunk/KDE/kdelibs/; revision=1175311
2010-09-14 17:34:31 +00:00
Aaron J. Seigo
e4c6d2e92b work around a bug in QGraphicsProxyWidget where, for whatever reason, the line edit isn't getting a focusInEvent when the QGraphicsProxyWidget does. normally i don't like working around bugs like this, but QGraphicsView seems to be bitrotting.
CCMAIL:menard@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1175309
2010-09-14 17:33:26 +00:00
Script Kiddy
48b1b36fa0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1175121
2010-09-14 09:28:31 +00:00
Martin Blumenstingl
ce1b4c7876 Add an unit test for Plasma::ConfigLoader.
REVIEWBOARD: http://reviewboard.kde.org/r/5329/

svn path=/trunk/KDE/kdelibs/; revision=1174971
2010-09-13 18:41:26 +00:00
Aaron J. Seigo
b90221e866 match the type in KCoreConfigSkeleton::ItemIntList
svn path=/trunk/KDE/kdelibs/; revision=1174968
2010-09-13 18:19:39 +00:00
Aaron J. Seigo
2f9828b966 allow popup applets to define the alignment of their popup
svn path=/trunk/KDE/kdelibs/; revision=1174612
2010-09-12 23:54:30 +00:00
Martin Blumenstingl
43b5b80b47 Fixed infinite loops in the config loader if the type of the config element was "point", "rect" or "size".
svn path=/trunk/KDE/kdelibs/; revision=1174512
2010-09-12 18:12:57 +00:00
Aaron J. Seigo
5c72c867eb values less than zero are completely valid
svn path=/trunk/KDE/kdelibs/; revision=1173983
2010-09-11 01:20:40 +00:00
Aaron J. Seigo
f90ee4e28d add the separator in a slightly more appropriate moment
svn path=/trunk/KDE/kdelibs/; revision=1173978
2010-09-11 00:48:15 +00:00
Aaron J. Seigo
8a74b21168 no longer relevant
svn path=/trunk/KDE/kdelibs/; revision=1173977
2010-09-11 00:47:56 +00:00
Manuel Mommertz
404c4b310d improved discardCache function
- if the theme changed recreate the cache
- if the theme is the same just clear it
- on colorscheme change keep svgElementsCache as element names and sizes are unchanged

svn path=/trunk/KDE/kdelibs/; revision=1173948
2010-09-10 23:03:24 +00:00
Aaron J. Seigo
a74c0a9706 syncToAction declaration
svn path=/trunk/KDE/kdelibs/; revision=1173939
2010-09-10 22:31:58 +00:00
Script Kiddy
b14cfb9fa9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1173720
2010-09-10 09:07:22 +00:00
Aaron J. Seigo
6f0631d700 taking an item also requires re-setting the parent
BUG:250420

svn path=/trunk/KDE/kdelibs/; revision=1173601
2010-09-09 20:12:03 +00:00
Aaron J. Seigo
1b826931d3 SVN_SILENT: being picky
svn path=/trunk/KDE/kdelibs/; revision=1173600
2010-09-09 20:10:33 +00:00
Aaron J. Seigo
23ebeb3bf6 * appletActions -> addAppletActions
* containmentActions -> addContainmentActions
* make both take an event for positioning purposes
* make prepareContainmentActions a more generic so that one code path for handling setting up a ContainmentActions plugin is used everywhere; this also shrinks addContainmentActions down to just being a permissions checker
* make PopupApplet use ContainmentPrive::addAppletActions directly; fewer code paths to track, as it allows removal of ContainmentPrivate::showApplContextMenu

svn path=/trunk/KDE/kdelibs/; revision=1173567
2010-09-09 18:37:28 +00:00
Aaron J. Seigo
5bddabe5d8 convenience method for accurately determining where to pop something up
svn path=/trunk/KDE/kdelibs/; revision=1173191
2010-09-08 22:30:21 +00:00
Aaron J. Seigo
d436911241 simplify/clarify the handling of context menu events; ensure it _always_ goes via the context menu event, and clean up the helper methods in the private class
svn path=/trunk/KDE/kdelibs/; revision=1173182
2010-09-08 21:51:22 +00:00
Aaron J. Seigo
e92ac18329 * dynamic_cast -> static_cast; results aren't checked, but are guaranteed
* return a value for context menu events

svn path=/trunk/KDE/kdelibs/; revision=1173181
2010-09-08 21:50:04 +00:00
Aaron J. Seigo
0c07c7dfdd a little more definite
svn path=/trunk/KDE/kdelibs/; revision=1173180
2010-09-08 21:48:46 +00:00
Script Kiddy
2c0b22574d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1172939
2010-09-08 09:13:19 +00:00
Aaron J. Seigo
5ef4d99a6b always call the (virtual) contextMenuEvent
svn path=/trunk/KDE/kdelibs/; revision=1172750
2010-09-08 00:00:19 +00:00
Script Kiddy
103eb8460c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1172375
2010-09-07 06:22:47 +00:00
Chani Armitage
900f8c6318 don't test isEnabled, it can be changed for >1 reason
svn path=/trunk/KDE/kdelibs/; revision=1171799
2010-09-05 08:03:27 +00:00
Aaron J. Seigo
54e3837b10 now that handles are children of the applet, this shouldn't even be necessary
BUG:250137

svn path=/trunk/KDE/kdelibs/; revision=1171752
2010-09-05 00:33:35 +00:00
Allen Winter
91f76a12f3 turn floating point constants into qreal's when passing them to qMin or qMax.
found when testing the new Krazy plugin for checking this condition.


svn path=/trunk/KDE/kdelibs/; revision=1171729
2010-09-04 23:07:23 +00:00
Aaron J. Seigo
3383a999c8 a little less noise
svn path=/trunk/KDE/kdelibs/; revision=1171719
2010-09-04 22:50:50 +00:00
Aaron J. Seigo
c769e104bd declare the metatype
svn path=/trunk/KDE/kdelibs/; revision=1171714
2010-09-04 22:37:29 +00:00
Albert Astals Cid
a3344d8f51 const &
svn path=/trunk/KDE/kdelibs/; revision=1171434
2010-09-03 21:14:32 +00:00
Aaron J. Seigo
4d81dce65e make package copyable and assignable
svn path=/trunk/KDE/kdelibs/; revision=1171413
2010-09-03 19:44:28 +00:00
Aaron J. Seigo
931ce93e03 whoops; his patch and mine colided and this include header got committed by accident
svn path=/trunk/KDE/kdelibs/; revision=1171409
2010-09-03 19:26:47 +00:00