Aaron J. Seigo
18959b552a
in RTL, the geometries are reversed; compare them with that taken into consideration
...
BUG:187406
svn path=/trunk/KDE/kdelibs/; revision=992935
2009-07-08 00:37:40 +00:00
Laurent Montel
22a3d92cdc
const'ify
...
svn path=/trunk/KDE/kdelibs/; revision=992163
2009-07-06 11:49:01 +00:00
Aaron J. Seigo
a179a16a9e
only close the desktop toolbox if the action is non-repeatable, which implies it's a fire-and-forget type of action such as something that triggers a dialog
...
BUG:198229
svn path=/trunk/KDE/kdelibs/; revision=988884
2009-06-29 01:22:58 +00:00
Aaron J. Seigo
c63f672d49
cean this up a little bit
...
svn path=/trunk/KDE/kdelibs/; revision=982722
2009-06-16 17:46:32 +00:00
Marco Martin
06c17a9583
emit activate when the screen changes and is actually an used screen
...
svn path=/trunk/KDE/kdelibs/; revision=982318
2009-06-15 13:58:23 +00:00
Marco Martin
b3c9d74f0a
correctly restore the toolbox whaen a different config file is used (for
...
the first load)
svn path=/trunk/KDE/kdelibs/; revision=982317
2009-06-15 13:57:46 +00:00
Aaron J. Seigo
8907a1306b
more careful with the actions
...
svn path=/trunk/KDE/kdelibs/; revision=979529
2009-06-10 04:51:24 +00:00
Marco Martin
299d00c193
reverting this bit committed by mistake
...
svn path=/trunk/KDE/kdelibs/; revision=977600
2009-06-04 19:49:36 +00:00
Marco Martin
ed608afc54
don't mess with size policies applets have chosen, at least with
...
ignoreaspectRatio applets
(aspectratio and sizepolicy sounds really colliding concepts ah, 4.0
leftovers i love you)
svn path=/trunk/KDE/kdelibs/; revision=977593
2009-06-04 19:00:16 +00:00
Aaron J. Seigo
d5ce775e22
save the desktop setting when it changes in setScreen just as we do for the screen
...
CCBUG:192245
svn path=/trunk/KDE/kdelibs/; revision=976441
2009-06-01 17:30:52 +00:00
Eduard Vladislavovich Sukharev
bca2659a0e
fixing crash on Win and (possibly) Mac when middle mouse clicked on plasma Containment
...
svn path=/trunk/KDE/kdelibs/; revision=971575
2009-05-22 19:22:57 +00:00
Marco Martin
87d8831b2e
set the geometry and then add the offscreen containment to corona->no
...
more colliding calendars
svn path=/trunk/KDE/kdelibs/; revision=970798
2009-05-20 20:27:01 +00:00
Darío Andrés Rodríguez
479203d54f
Call setParent() after the m_wallpaper pointer check
...
BUG: 192912
svn path=/trunk/KDE/kdelibs/; revision=969230
2009-05-17 18:23:31 +00:00
Aaron J. Seigo
4ea997a9f1
don't crash when moving the focused applet from one containment to another
...
BUG:192589
svn path=/trunk/KDE/kdelibs/; revision=967669
2009-05-13 18:11:08 +00:00
Aaron J. Seigo
5f7fb0c500
prevent getting called twice (fixes crash on removing panels)
...
svn path=/trunk/KDE/kdelibs/; revision=964500
2009-05-06 19:08:29 +00:00
Aaron J. Seigo
6ca62962e2
do a sweep for kapplication usage
...
svn path=/trunk/KDE/kdelibs/; revision=963961
2009-05-05 18:11:50 +00:00
Chani Armitage
571367cec2
middle-click pastes data onto containments now :)
...
svn path=/trunk/KDE/kdelibs/; revision=963659
2009-05-05 05:19:35 +00:00
Chani Armitage
233e220ad9
safer way of creating actions, according to mjansen
...
svn path=/trunk/KDE/kdelibs/; revision=963095
2009-05-03 22:13:05 +00:00
Chani Armitage
c756fd29c4
configurable keyboard shortcuts
...
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Aaron J. Seigo
9339d4e96a
go back to the plugin info categories
...
svn path=/trunk/KDE/kdelibs/; revision=962195
2009-05-01 18:01:26 +00:00
Aaron J. Seigo
0b5c4e1947
use Keywords instead of X-KDE-PluginInfo-Category so we can be translated and even support multiple categories!
...
svn path=/trunk/KDE/kdelibs/; revision=961933
2009-05-01 05:36:50 +00:00
Aaron J. Seigo
7d8a4272cd
put containment options last, make accidental removal of widgets a bit harder
...
BUG:188880
svn path=/trunk/KDE/kdelibs/; revision=960594
2009-04-28 17:30:46 +00:00
Aaron J. Seigo
6d7622271c
* Toolbox -> ToolBox
...
* emit the signals only when things change
svn path=/trunk/KDE/kdelibs/; revision=958822
2009-04-24 19:27:58 +00:00
Aaron J. Seigo
718c24af43
correct connect statements
...
svn path=/trunk/KDE/kdelibs/; revision=958270
2009-04-23 16:38:16 +00:00
Marco Martin
43af4a45b4
signal void toolBoxVisibilityChanged(bool); that notifies when the
...
toolbox gets open/closed
svn path=/trunk/KDE/kdelibs/; revision=953372
2009-04-13 20:26:17 +00:00
Aaron J. Seigo
8952d159aa
straighten out this bit of nonesense a bit :)
...
svn path=/trunk/KDE/kdelibs/; revision=952746
2009-04-12 13:21:49 +00:00
Marco Martin
baf9e2bffe
set the screens to -1 for both containments before switching them, it
...
avoids a screenownerchanged infinite loop
svn path=/trunk/KDE/kdelibs/; revision=952429
2009-04-11 21:12:03 +00:00
Marco Martin
05828b7b81
a bit more debug or i will become totally mad about that
...
svn path=/trunk/KDE/kdelibs/; revision=952360
2009-04-11 16:23:38 +00:00
Marco Martin
c4e76cdc54
restore as offscreen widgets containments that was offscreen widgets
...
svn path=/trunk/KDE/kdelibs/; revision=951274
2009-04-08 20:37:45 +00:00
Marco Martin
875688e040
make corona's offscreenwidgets list accessible, don't reposition
...
containments that are in offscreen widgets
svn path=/trunk/KDE/kdelibs/; revision=950841
2009-04-07 21:22:18 +00:00
Aaron J. Seigo
deb92dbdf5
parent the wallpaper so it gets deleted when we get deleted
...
svn path=/trunk/KDE/kdelibs/; revision=950829
2009-04-07 21:00:26 +00:00
Aaron J. Seigo
339c9cbf9a
oops, straggler in the query
...
svn path=/trunk/KDE/kdelibs/; revision=948431
2009-04-03 00:34:53 +00:00
Aaron J. Seigo
5ef5f88b7e
listing methods for all installed types of containments and for all containments of a given type
...
svn path=/trunk/KDE/kdelibs/; revision=948427
2009-04-03 00:29:54 +00:00
Aaron J. Seigo
04f8e295b7
make the wallpaper stuff a bit more robust and integrated around configuration issues
...
svn path=/trunk/KDE/kdelibs/; revision=948052
2009-04-02 04:15:50 +00:00
Aaron J. Seigo
7dd4f42869
the wallpaper is always a (0, 0) of the containment; don't rely on the boundingRect to give us that
...
svn path=/trunk/KDE/kdelibs/; revision=945044
2009-03-26 19:14:58 +00:00
Aaron J. Seigo
f2ba0859cb
SVN_SILENT: i'm sure one pair of parens is enough. this isn't lisp.
...
svn path=/trunk/KDE/kdelibs/; revision=943975
2009-03-24 18:51:29 +00:00
Chani Armitage
111e6a60c3
zoomout is moving to desktop/plasmaapp
...
svn path=/trunk/KDE/kdelibs/; revision=941581
2009-03-20 00:36:04 +00:00
Aaron J. Seigo
9024aa28bb
don't automatically add a remove action to custom containments
...
svn path=/trunk/KDE/kdelibs/; revision=939041
2009-03-13 17:07:58 +00:00
Chani Armitage
f406ed1d77
stuff that lets me move "add activity" to plasmaapp:
...
-added enableAction function to corona for convenience
-added immutabilityChanged signal so that plasmaapp can respond to lock/unlock
-removed "add activity" action from containment because it's on its way to plasmaapp
-stopped adding corona actions to the containment toolbox, plasmaapp can do a better job of it
-made lock action actually disable on SystemImmutable; sure it wouldn't have worked, but now there's no worries about it showing up in the UI
svn path=/trunk/KDE/kdelibs/; revision=938383
2009-03-11 18:37:12 +00:00
Rob Scheepmaker
e1730c4704
Move the showing of the dropzone from panelview to containment. Leads to less code duplication and makes showing dropzones when dragging extenderitems to the panel work. Also don't hide the extenderapplet and panel when detaching the last item from an extenderapplet, and move extenderitems off screen before creating the pixmap to avoid other items appearing in the pixmap.
...
svn path=/trunk/KDE/kdelibs/; revision=938242
2009-03-11 14:41:37 +00:00
Chani Armitage
9af884bad7
update the lock action once, instead of having every containment do it
...
svn path=/trunk/KDE/kdelibs/; revision=938042
2009-03-11 04:46:13 +00:00
Chani Armitage
aa34398a80
give corona its own action collection.
...
this is a place for things which shouldn't be duplicated over every single containment, like "lock" and "new activity".
for now we still add the lock action to every containment, so that none of the code lower down notices the change - but we only have one action behind it all :)
svn path=/trunk/KDE/kdelibs/; revision=937923
2009-03-10 19:52:50 +00:00
Chani Armitage
d1fa9d361b
(hopefully) temporary fix for shortcuts.
...
this could interfere with plasma-mid, because it assumes one view per window
but it's the best we can get until we can use real QGraphicsWidget action stuff
svn path=/trunk/KDE/kdelibs/; revision=935758
2009-03-06 05:22:08 +00:00
Aaron J. Seigo
655f63d1fb
allow custom containment types to utilize the toolboxes if they wish
...
svn path=/trunk/KDE/kdelibs/; revision=935732
2009-03-06 01:41:01 +00:00
Marco Martin
8fd655c54b
desktop toolbox is more tiny and shows the activity name if any is set
...
an experiment, let's see how it goes
svn path=/trunk/KDE/kdelibs/; revision=935674
2009-03-05 22:15:06 +00:00
Aaron J. Seigo
04824f48c7
streamlining made while hunting for the panel changing bug. at least i have something to show for my pain.
...
svn path=/trunk/KDE/kdelibs/; revision=930729
2009-02-24 04:54:57 +00:00
Aaron J. Seigo
9f40f63081
prevent panels from encroaching into positive space and screwing things up: constraintsEvent is delayed, and that event loop is entered between. this is something that needs to be done synchronously, however. SizeConstraint is triggered by Applet::resizeEvent, so putting this code in resizeEvent is no more or less immune to applets/containments reimplementing resizeEvent and not calling the base implementation.
...
BUG:176280
svn path=/trunk/KDE/kdelibs/; revision=928671
2009-02-19 19:50:19 +00:00
Aaron J. Seigo
1f6e98c957
revert r#176280 as it's just a work around for the real problem
...
svn path=/trunk/KDE/kdelibs/; revision=928670
2009-02-19 19:47:24 +00:00
Marco Martin
d2446a59fc
make the applet appear in the direction nearest to the mouse instead of
...
the entry position, more hanle-follows-mind
svn path=/trunk/KDE/kdelibs/; revision=928669
2009-02-19 19:43:52 +00:00
Joshua Levesque
fcb0f36d7f
Prevent horizontal panels from bleeding over into positive coordinates by creating a positioning offset, much like that given to vertical panels.
...
CCBUG: 176280
svn path=/trunk/KDE/kdelibs/; revision=927169
2009-02-16 22:55:24 +00:00