Commit Graph

6027 Commits

Author SHA1 Message Date
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
Marco Martin
a27ffd0e97 use pushbutton prefix if available
svn path=/trunk/KDE/kdelibs/; revision=1126613
2010-05-14 13:26:52 +00:00
Marco Martin
1bbbe5f173 use focusindicator to do button shadows too (perfectly retrocompatible by the way).
this makes buttons be correctly aligned in layouts

svn path=/trunk/KDE/kdelibs/; revision=1126591
2010-05-14 12:45:54 +00:00
Marco Martin
72931328b8 some positioning fixes that were sitting here since a while
svn path=/trunk/KDE/kdelibs/; revision=1126590
2010-05-14 12:44:46 +00:00
Aaron J. Seigo
5247459859 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1126401
2010-05-13 21:48:13 +00:00
Chani Armitage
5d68a5bc56 don't save containment stuff if you're not a containment
svn path=/trunk/KDE/kdelibs/; revision=1126393
2010-05-13 21:40:02 +00:00
Chani Armitage
67180894e9 write the activity ID on save.
svn path=/trunk/KDE/kdelibs/; revision=1126391
2010-05-13 21:39:45 +00:00
Marco Martin
f46ac96bb1 set the accepting input status only if it's unknown
svn path=/trunk/KDE/kdelibs/; revision=1126385
2010-05-13 21:28:55 +00:00
Marco Martin
e1c03d3ef8 by default, set expanded popupapplets to accept input, this covers most of the "panel must have focus" needs
BUG:177674

svn path=/trunk/KDE/kdelibs/; revision=1126373
2010-05-13 21:10:59 +00:00
Marco Martin
a918cc5af7 check if d->frames is empty
BUG:235851

svn path=/trunk/KDE/kdelibs/; revision=1126216
2010-05-13 10:08:44 +00:00
Aaron J. Seigo
cb6d3b581a hook up AppletScript to the JS anims
svn path=/trunk/KDE/kdelibs/; revision=1126035
2010-05-13 00:47:24 +00:00
Aaron J. Seigo
eb8e81e27c make it possible to prefix anims
svn path=/trunk/KDE/kdelibs/; revision=1126034
2010-05-13 00:52:36 +00:00
Aaron J. Seigo
ae9656bb59 add animations to the package
svn path=/trunk/KDE/kdelibs/; revision=1126033
2010-05-13 00:51:43 +00:00
Aaron J. Seigo
e5ffc3ce8a make it const
svn path=/trunk/KDE/kdelibs/; revision=1126032
2010-05-13 00:51:22 +00:00
Aaron J. Seigo
57b809f29e allow for args to be passed to the service plugin
svn path=/trunk/KDE/kdelibs/; revision=1126018
2010-05-12 23:30:10 +00:00
Marco Martin
515249e7f4 suicide when the containment changes
BUG:237355

svn path=/trunk/KDE/kdelibs/; revision=1125948
2010-05-12 19:03:28 +00:00