Commit Graph

6292 Commits

Author SHA1 Message Date
Aaron J. Seigo
9a1a6a671a should be protected (the method it is reimplementing is protected), but since it was screwed up like this in a release, needs to go back. meh.
svn path=/trunk/KDE/kdelibs/; revision=1130006
2010-05-24 07:37:54 +00:00
Marco Martin
05c9cab404 paint labels in text color if not manually set
svn path=/trunk/KDE/kdelibs/; revision=1129448
2010-05-22 12:49:25 +00:00
Marco Martin
df3259842c fallback here too if the element doesn't exist
svn path=/trunk/KDE/kdelibs/; revision=1129432
2010-05-22 11:40:22 +00:00
Marco Martin
5f04930024 if an invalid svg was set, return an empty string as svg()
svn path=/trunk/KDE/kdelibs/; revision=1129430
2010-05-22 11:35:53 +00:00
Marco Martin
891594a433 remove dead code
svn path=/trunk/KDE/kdelibs/; revision=1129281
2010-05-21 20:59:33 +00:00
Aaron J. Seigo
235172e42e some more data points for asraniel's charts
svn path=/trunk/KDE/kdelibs/; revision=1129278
2010-05-21 20:52:27 +00:00
Aaron J. Seigo
31fda702c4 make the clicking actually work
BUG:233746

svn path=/trunk/KDE/kdelibs/; revision=1129251
2010-05-21 18:53:15 +00:00
Marco Martin
32a40accec whoops forgotten a not in previous commit
svn path=/trunk/KDE/kdelibs/; revision=1129238
2010-05-21 18:12:20 +00:00
Marco Martin
19d0f06981 check for existence of applet
svn path=/trunk/KDE/kdelibs/; revision=1129236
2010-05-21 18:09:15 +00:00
Marco Martin
7a8169685d don't resize then move, use a single setGeometry: the window will jump around way less
also keep the proper edge "fixed" depending on the applet location

svn path=/trunk/KDE/kdelibs/; revision=1129214
2010-05-21 16:47:23 +00:00
Marco Martin
208d362a25 make possible to set a maximum size actually less than the deskop
svn path=/trunk/KDE/kdelibs/; revision=1129183
2010-05-21 14:43:28 +00:00
Marco Martin
f08bf871f6 be sure to relayout if a different position is asked
svn path=/trunk/KDE/kdelibs/; revision=1129158
2010-05-21 12:49:27 +00:00
Marco Martin
d19118b818 limit the size of the graphicswidget to the size of the desktop
svn path=/trunk/KDE/kdelibs/; revision=1129153
2010-05-21 12:24:59 +00:00
Marco Martin
baf1e98b99 resize extender over item removal
svn path=/trunk/KDE/kdelibs/; revision=1129137
2010-05-21 11:24:29 +00:00
Aaron J. Seigo
2d1fe7b138 don't jiggle
BUG:202949

svn path=/trunk/KDE/kdelibs/; revision=1129021
2010-05-21 02:03:19 +00:00
Aaron J. Seigo
67b79a816c --memoryLeak;
svn path=/trunk/KDE/kdelibs/; revision=1129020
2010-05-21 01:53:48 +00:00
Aaron J. Seigo
162eb8db18 activity naming happens elsewhere now; generify panels
svn path=/trunk/KDE/kdelibs/; revision=1129009
2010-05-21 01:07:31 +00:00
Aaron J. Seigo
aa5e85e3fa provide a (rather hidden, unfortunately) slot for applets and containments to attach custom widgets to to enable/disable a Apply button with. welcome the settingsModified() slot
svn path=/trunk/KDE/kdelibs/; revision=1129003
2010-05-21 00:26:23 +00:00
Marco Martin
530c3fe70a invalidate the hint caches, the resize the extender to the hint
svn path=/trunk/KDE/kdelibs/; revision=1128980
2010-05-20 20:41:11 +00:00
Marco Martin
8ec35c6c91 resize the extender to its preferred size when a group gets expanded, visual glitches--
svn path=/trunk/KDE/kdelibs/; revision=1128971
2010-05-20 20:07:50 +00:00
Marco Martin
fef01419ba use KGlobalSettings::dndEventDelay()
svn path=/trunk/KDE/kdelibs/; revision=1128948
2010-05-20 18:47:07 +00:00
Marco Martin
e0b211b52e use KGlobalSettings::dndEventDelay()
svn path=/trunk/KDE/kdelibs/; revision=1128946
2010-05-20 18:45:27 +00:00
Marco Martin
3f6a5ac01a re enable fading for long text labels
svn path=/trunk/KDE/kdelibs/; revision=1128895
2010-05-20 15:49:05 +00:00
Marco Martin
1307855db1 this status hack is not needed anymore
svn path=/trunk/KDE/kdelibs/; revision=1128778
2010-05-20 08:45:05 +00:00
Marco Martin
913d891b8a the widgets that accept input sets their applet status as accepting input as well.
it pretty ugly and duplicated code but doing it at this level is the only way to reliably set the proper status

svn path=/trunk/KDE/kdelibs/; revision=1128660
2010-05-19 21:45:08 +00:00
Chani Armitage
fcd713f149 don't emit nonsense :)
svn path=/trunk/KDE/kdelibs/; revision=1128641
2010-05-19 20:11:37 +00:00
Aaron J. Seigo
ae4caf4a5a missing method
svn path=/trunk/KDE/kdelibs/; revision=1128639
2010-05-19 20:04:21 +00:00
Aaron J. Seigo
615aef4915 clean up and generalize setScreen
svn path=/trunk/KDE/kdelibs/; revision=1128637
2010-05-19 20:03:31 +00:00
Aaron J. Seigo
fe70333098 never has been needed
svn path=/trunk/KDE/kdelibs/; revision=1128636
2010-05-19 20:02:31 +00:00
Aaron J. Seigo
7c64c65251 ensure we don't multiply connect
svn path=/trunk/KDE/kdelibs/; revision=1128635
2010-05-19 20:02:10 +00:00
Jacopo De Simoi
14ebf05e43 Saturates the relevance boost given to already run matches;
this avoids very commonly selected matches (e.g. konsole) to beat any other match even if the latter is in principle more relevant

svn path=/trunk/KDE/kdelibs/; revision=1128445
2010-05-19 09:51:21 +00:00
Aaron J. Seigo
e3eda3ab65 increase the delay a bit; with more runners happening, this makes it all a littl less jerky; we need a better way to change this dynamically
svn path=/trunk/KDE/kdelibs/; revision=1128369
2010-05-19 04:22:18 +00:00
Chani Armitage
3a10a5c507 added lastScreen and lastDesktop, to remember where things belong
svn path=/trunk/KDE/kdelibs/; revision=1128358
2010-05-19 02:43:07 +00:00
Aaron J. Seigo
58ae4b444f don't show private classes
svn path=/trunk/KDE/kdelibs/; revision=1128260
2010-05-18 20:13:26 +00:00
Marco Martin
3aee2db14e make extender::groups() work without assigning groups to themselves
svn path=/trunk/KDE/kdelibs/; revision=1128236
2010-05-18 18:55:00 +00:00
Marco Martin
6eade776e2 correctly disable glow on focus out
svn path=/trunk/KDE/kdelibs/; revision=1128229
2010-05-18 18:32:18 +00:00
Beat Wolf
be9c4e9781 allow null values for dataengines as sugested by aseigo.
BUG:237760

svn path=/trunk/KDE/kdelibs/; revision=1128225
2010-05-18 18:22:13 +00:00
Aaron J. Seigo
404241f348 move this non-exported class to the private header
svn path=/trunk/KDE/kdelibs/; revision=1128221
2010-05-18 18:04:51 +00:00
Marco Martin
f26246c731 -groups of groups are always themselves, this fixes extender::groups()
-extra check a group is actually an extendergroup type

svn path=/trunk/KDE/kdelibs/; revision=1128074
2010-05-18 09:28:06 +00:00
Marco Martin
aca321d765 ensure the groups() list doesn't contain null pointer (could fix some bugs, but tendds to generate backtraces not directly obvious)
svn path=/trunk/KDE/kdelibs/; revision=1127890
2010-05-17 22:18:12 +00:00
Marco Martin
325d6a7c67 e weakpointers for the animated pages: avoids crashes when a tab gets removed and immeadiately added another one (happens when switching activity type for instance)
svn path=/trunk/KDE/kdelibs/; revision=1127865
2010-05-17 20:46:35 +00:00
Marco Martin
610b3c85df store the under mouse value, avoids a sync cursor position call
svn path=/trunk/KDE/kdelibs/; revision=1127792
2010-05-17 16:35:27 +00:00
Artur Duque de Souza
d6c0119d69 Reset the angle of an applet when moved to a panel
This way, applets that were rotated in Plasma::Planar are not
rotated anymore when moved to form factor Plasma::Horizontal ||
Plasma::Vertical.

BUG:237861

svn path=/trunk/KDE/kdelibs/; revision=1127712
2010-05-17 12:40:37 +00:00
Marco Martin
bf5beef483 try to avoid managing eventfilter on delete objects
svn path=/trunk/KDE/kdelibs/; revision=1127690
2010-05-17 10:44:34 +00:00
Script Kiddy
f61acfa498 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1127622
2010-05-17 07:24:35 +00:00
Marco Martin
2f05f2c3fc get rid of the old animation code and use focusindicator
old themes will have it without animations, but is fine since other widgets are still not animated and the old one was beyond repair
also, get rid of two private slots thankfully added just for 4.5
BUG:235069

svn path=/trunk/KDE/kdelibs/; revision=1126744
2010-05-14 19:18:05 +00:00
Marco Martin
f8adc81da3 don't initialize to hover
svn path=/trunk/KDE/kdelibs/; revision=1126735
2010-05-14 18:34:33 +00:00
Shaun Reich
a5da2705a9 introduce setDefaultService(serviceName) and createDefaultService(QObject*). allows the dataengine (inheritor) to specify which service should probably be used. so applet users don't have to know those things if it's just 1
svn path=/trunk/KDE/kdelibs/; revision=1126712
2010-05-14 17:41:40 +00:00
Aaron J. Seigo
bdf9ddee65 split out the loadLayout into a load and an import. works well for importing the default layout, next to test it out against exported layouts to ensure the merging does indeed work
svn path=/trunk/KDE/kdelibs/; revision=1126706
2010-05-14 17:00:54 +00:00
Marco Martin
0a4a525237 don't use anymore that pushbutton prefix nonsense
svn path=/trunk/KDE/kdelibs/; revision=1126667
2010-05-14 15:36:19 +00:00