Commit Graph

6290 Commits

Author SHA1 Message Date
Aaron J. Seigo
4502af56ad fix the moc
svn path=/trunk/KDE/kdelibs/; revision=1178380
2010-09-22 21:14:40 +00:00
Aaron J. Seigo
175ad015c0 bool, not pixmap
svn path=/trunk/KDE/kdelibs/; revision=1178370
2010-09-22 20:52:10 +00:00
Aaron J. Seigo
521bc968fd clean ups, share the FrameSvg object
svn path=/trunk/KDE/kdelibs/; revision=1178368
2010-09-22 20:47:35 +00:00
Aaron J. Seigo
9983bc7dc8 fewer pixmaps. same great taste.
svn path=/trunk/KDE/kdelibs/; revision=1178341
2010-09-22 19:35:47 +00:00
Aaron J. Seigo
938880140b share the FrameSvg with the focus indicator
svn path=/trunk/KDE/kdelibs/; revision=1178172
2010-09-22 09:03:41 +00:00
Aaron J. Seigo
dc9d3f5e50 * share the FrameSvg with the FocusIndicator
* get the name of the prefixes right

svn path=/trunk/KDE/kdelibs/; revision=1178170
2010-09-22 09:02:09 +00:00
Aaron J. Seigo
f4bfd900a3 the header part of that commit
svn path=/trunk/KDE/kdelibs/; revision=1178169
2010-09-22 09:01:31 +00:00
Aaron J. Seigo
86794f694f * make custom prefixes work again
* make non-frame based indicators work (sliders now show focus again)
* shave ~8ms off of creation time (bringing it down to ~1ms)
* allow sharing of the FrameSvg object
* constify and sanitize the previously existing constructor
* use QStringBuilder

svn path=/trunk/KDE/kdelibs/; revision=1178168
2010-09-22 09:01:01 +00:00
Aaron J. Seigo
bbe18dd67d QStringBuilder
svn path=/trunk/KDE/kdelibs/; revision=1178057
2010-09-22 07:47:15 +00:00
Aaron J. Seigo
18d8032b3b use QStringBuilder
svn path=/trunk/KDE/kdelibs/; revision=1178056
2010-09-22 07:46:09 +00:00
Anthony Bryant
968d659989 Truncate the length of a tooltip's main text and sub text to 5000 characters.
svn path=/trunk/KDE/kdelibs/; revision=1178011
2010-09-21 23:50:57 +00:00
Aaron J. Seigo
b6d4b71680 we enforce immutability in other ways already, try not to get in the way of programmatic manipulation (versus user manipulation) of applets
svn path=/trunk/KDE/kdelibs/; revision=1177864
2010-09-21 14:26:47 +00:00
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