Commit Graph

6212 Commits

Author SHA1 Message Date
Manuel Mommertz
1d82f58e41 allow SVGs to use systemcolors
svn path=/trunk/KDE/kdelibs/; revision=1181642
2010-10-01 16:04:34 +00:00
Giulio Camuffo
37c3cf4d1c do not do the appear animation when dropping an extender item
svn path=/trunk/KDE/kdelibs/; revision=1181208
2010-09-30 12:47:45 +00:00
Chani Armitage
25d9f45583 exportLayout function to go with importLayout
also, deprecated the old importLayout in favour of one that only accepts
kconfiggroup.
CCBUG: 248386

svn path=/trunk/KDE/kdelibs/; revision=1180338
2010-09-27 18:16:43 +00:00
Laurent Montel
4369d1df2b Make it compile
svn path=/trunk/KDE/kdelibs/; revision=1180337
2010-09-27 18:16:27 +00:00
Aaron J. Seigo
4160e73393 IMPROVEMENT: share FrameData between FrameSvg objects wherever possible; limits pixmap usage
svn path=/trunk/KDE/kdelibs/; revision=1180317
2010-09-27 17:19:06 +00:00
Manuel Mommertz
93242199ac ButtonBackgroundColor should be the normal background of buttons not the active one
svn path=/trunk/KDE/kdelibs/; revision=1180219
2010-09-27 12:08:24 +00:00
Aaron J. Seigo
64da2b88aa friends
svn path=/trunk/KDE/kdelibs/; revision=1180044
2010-09-26 20:35:00 +00:00
Aaron J. Seigo
03f8db0342 when an extender is created on an applet without an extender and it is a popup applet without an explicitly defined graphicsWidget, make it re-check the layout so it creates a dialog or whatever when appropriate based on having a graphicsWidget now
svn path=/trunk/KDE/kdelibs/; revision=1180038
2010-09-26 20:19:11 +00:00
Zack Rusin
9d89e5519a Fix transformation artifacts.
The widget does have contents (even if it's inherited) which
was confusing graphicsview and causing wonky artifacts on 
transformations of all widgets that were inside Plasma::ScrollWidget.

svn path=/trunk/KDE/kdelibs/; revision=1179203
2010-09-24 20:36:00 +00:00
Aaron J. Seigo
b5b4ea581a allow setting a bogus desktop value on startup; prevents containments kept around due to desktops disappearing on us from becoming activity spawners
BUG:252264

svn path=/trunk/KDE/kdelibs/; revision=1179185
2010-09-24 19:03:45 +00:00
Giulio Camuffo
72b4a73b5d make the tabbar resize vertically when there are no tabs too
svn path=/trunk/KDE/kdelibs/; revision=1179179
2010-09-24 18:42:00 +00:00
Aaron J. Seigo
9ecae806dd when hidden, don't bother to keep animating the move. the tooltip will be repositioned on show anyways.
svn path=/trunk/KDE/kdelibs/; revision=1179173
2010-09-24 18:19:58 +00:00
Aaron J. Seigo
735c89c730 dangerously this could get called via tooltip
svn path=/trunk/KDE/kdelibs/; revision=1179171
2010-09-24 18:14:29 +00:00
Marco Martin
cdc70740bd set the border size to 0
if it will work well enough with existing applications, the border calculation will be just removed

svn path=/trunk/KDE/kdelibs/; revision=1179099
2010-09-24 14:34:40 +00:00
Script Kiddy
6814ab82cb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1178982
2010-09-24 08:57:26 +00:00
Marco Martin
01838f46b8 signalplotter methods are invokable
svn path=/trunk/KDE/kdelibs/; revision=1178797
2010-09-23 22:03:21 +00:00
Aaron J. Seigo
4946385727 avoid some unecesary calls, write an if as a switch
svn path=/trunk/KDE/kdelibs/; revision=1178749
2010-09-23 20:24:17 +00:00
Aaron J. Seigo
6e14d1c773 fixups
svn path=/trunk/KDE/kdelibs/; revision=1178748
2010-09-23 19:59:54 +00:00
Aaron J. Seigo
67736c1a15 fill our pixmaps with nothingness
svn path=/trunk/KDE/kdelibs/; revision=1178747
2010-09-23 19:51:39 +00:00
Aaron J. Seigo
64bc2af527 SVN_SILENT: pedant
svn path=/trunk/KDE/kdelibs/; revision=1178741
2010-09-23 19:18:16 +00:00
Aaron J. Seigo
1e0f44a312 FEATURE: on debug builds, make it easy to get a full dump of the state of the DataEngines
svn path=/trunk/KDE/kdelibs/; revision=1178739
2010-09-23 19:17:00 +00:00
Anthony Bryant
331014c047 Delete the tooltip window while it's hidden, and recreate it when shown.
This works around an X bug which can cause plasma tooltips to make "holes" in windows under certain conditions.
BUG:249232

svn path=/trunk/KDE/kdelibs/; revision=1178415
2010-09-23 01:04:45 +00:00
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