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
Marco Martin
f4514950f4
reverting the last change, the panel height is still the old one at that
...
point :)
CCBUG:176280
svn path=/trunk/KDE/kdelibs/; revision=927158
2009-02-16 22:11:24 +00:00
Marco Martin
59a0e9f0e8
theory: the desktop breakage could happen because the panel overlaps the
...
desktop for a while, making containment()->view() or
corona::containmentfordesktop() fails, leaving the desktop view without
a containment
try to reposition the panel before a vertical movement, it should
prevent the panel to go into the desktop for an instant
CCBUG:176280
svn path=/trunk/KDE/kdelibs/; revision=927141
2009-02-16 21:45:18 +00:00
Artur Duque de Souza
cae61ee4ca
Use enums from KIconLoader
...
Instead of using hardcore numbers, it would be great to use the enums provided by
KIconLoader whenever we use sizes for icons.
Made the change for the obvious ones replacing "16" by KIconLoader::SizeSmall,
"22" by KIconLoader::SizeSmallMedium and "32" by KIconLoader::SizeMedium.
svn path=/trunk/KDE/kdelibs/; revision=926544
2009-02-15 16:35:52 +00:00
Rob Scheepmaker
fe805eb338
Massive refactoring of extender drag&drop handling. This should avoid bugs with the old way of doing things (toplevel view on an offscreen widget can lose
...
mouse events while dragging), and is generally shorter and cleaner. There are still some regressions I'll be working on fixing, but it basically works, avoids
crashes and is even faster.
svn path=/trunk/KDE/kdelibs/; revision=923915
2009-02-09 18:10:45 +00:00
Alexis Ménard
ef4b6c7187
Add an appletDestroyed signal instead of catching the destruction in containments with qobject destroyed signal.
...
THis fix errors because we give an invalid pointer to public appletRemoved signal.
svn path=/trunk/KDE/kdelibs/; revision=917619
2009-01-28 07:58:17 +00:00
Christophe Giboudeaux
ae301b3718
kaction.h is already included. Just remove the extra ones
...
svn path=/trunk/KDE/kdelibs/; revision=917529
2009-01-28 00:12:02 +00:00
Cédric Borgese
1b12af86cc
Fix compilation : camel case includes of kdelibs headers are not accessible while building kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=917525
2009-01-28 00:01:15 +00:00
Chani Armitage
958cc6e953
-fix settings shortcut
...
-QAction->KAction
IMPORTANT: if you need to do things to the keyboard shortcuts of kactions (which means all of plasma's standard actions from now on), make sure you're using a KAction* and not a QAction*
svn path=/trunk/KDE/kdelibs/; revision=917435
2009-01-27 20:50:34 +00:00
Marco Martin
bb8c603060
moved the activate() signal chaining from applet to containment
...
svn path=/trunk/KDE/kdelibs/; revision=915940
2009-01-24 10:47:35 +00:00
Aaron J. Seigo
a414e32f0b
some clean ups
...
svn path=/trunk/KDE/kdelibs/; revision=915487
2009-01-23 07:32:11 +00:00
Aaron J. Seigo
72d632a234
this started out as a self contained patch just to merge two actions, but rapidly got out of hand ;)
...
* default to no config interface for containments
* merge the Appearance Settings and Configure actions for containments
* be even more careful with about-to-be-deleted widget (d->transient) including giving them a fake-but-valid scratchpad of a KConfigGroup if requested after deletd
* replace some method calls with direct access to the private members
svn path=/trunk/KDE/kdelibs/; revision=914890
2009-01-22 00:00:16 +00:00
Chani Armitage
0f3f06f024
all plasma shortcuts are emacs-style now, starting with alt-d, to avoid conflicts.
...
svn path=/trunk/KDE/kdelibs/; revision=914295
2009-01-20 19:38:45 +00:00
Aaron J. Seigo
307f5760c3
* do the input sanitization first
...
* use newScreen and newDesktop to make the code more understandable; someone already tripped up on d->screen vs screen in a bug report. d->screen vs newScreen should be harder to miss.
svn path=/trunk/KDE/kdelibs/; revision=913111
2009-01-18 19:52:09 +00:00
Aaron J. Seigo
5e41fb8132
don't lose the desktop in the process of swaping contaiment assignments; include desktop assignment in the debug
...
CCBUG:175697
svn path=/trunk/KDE/kdelibs/; revision=913049
2009-01-18 17:56:06 +00:00
Aaron J. Seigo
4bc508411a
neat bug: changing Activity type while widgets are locked caused Appearances settings to be permahidden. chased out a few other ways to trigger this once that one was fixed, works nicely now.
...
BUG:180887
svn path=/trunk/KDE/kdelibs/; revision=911727
2009-01-16 00:39:07 +00:00
Aaron J. Seigo
dd99751e2b
SVN_SILENT: coding style!
...
svn path=/trunk/KDE/kdelibs/; revision=910608
2009-01-13 19:49:19 +00:00
Beat Wolf
ad56e279e2
Don't create submenu for "unlock widgets" if there is only one action in the submenu
...
svn path=/trunk/KDE/kdelibs/; revision=910410
2009-01-13 11:03:48 +00:00
Aaron J. Seigo
c5e44c35d2
if the applet is already in another containment, don't re-animate it as if it were new
...
svn path=/trunk/KDE/kdelibs/; revision=908501
2009-01-09 20:44:53 +00:00
Aaron J. Seigo
e009bc7382
protect access to toolbox, when used with containments that don't create one or turn theirs off
...
BUG:179909
svn path=/trunk/KDE/kdelibs/; revision=907205
2009-01-07 16:42:12 +00:00
Aaron J. Seigo
d4bb3c790a
no need to focus an applet twice
...
svn path=/trunk/KDE/kdelibs/; revision=905312
2009-01-04 07:59:10 +00:00
Chani Armitage
c0496911af
the settings dialog for wallpaper n'stuff needs to respect security
...
svn path=/trunk/KDE/kdelibs/; revision=902697
2008-12-28 23:45:27 +00:00
Sebastian Sauer
8f12925265
disable conflicting shortcut for now.
...
BUG:165938
svn path=/trunk/KDE/kdelibs/; revision=897447
2008-12-16 04:34:38 +00:00
Aaron J. Seigo
85161ce13f
re-enable some debug needed to work out problems with multiscreen
...
svn path=/trunk/KDE/kdelibs/; revision=897316
2008-12-15 18:28:28 +00:00
Aaron J. Seigo
6e6cb12b9b
delay the saving of new applets so that layouts can do their job
...
svn path=/trunk/KDE/kdelibs/; revision=897306
2008-12-15 17:48:28 +00:00
Aaron J. Seigo
5c2927870d
* consolidate the remove action enabling check into one method
...
* check the remove action on immutability changes (prevents "Remove" from showing up erroniously when locking then unlocking)
svn path=/trunk/KDE/kdelibs/; revision=897290
2008-12-15 16:54:09 +00:00
Aaron J. Seigo
29b2776ee4
carefully save applets on creation, prevents losing new applets right after adding them
...
svn path=/trunk/KDE/kdelibs/; revision=895934
2008-12-12 01:05:00 +00:00
Aaron J. Seigo
4ffa080061
SVN_SILENT: quit spamming the output with this one
...
svn path=/trunk/KDE/kdelibs/; revision=895806
2008-12-11 19:53:35 +00:00
Frederik Gladhorn
f0c5eeea37
put the "Appearance Settings" after "Lock Widgets" in the context menu of the desktop
...
svn path=/trunk/KDE/kdelibs/; revision=894992
2008-12-09 19:10:30 +00:00
Marco Martin
98b833977b
correct some last toolbox annoyances...
...
svn path=/trunk/KDE/kdelibs/; revision=893011
2008-12-05 18:16:30 +00:00
Aaron J. Seigo
2207ff1dc5
make it possible to remove panels again
...
svn path=/trunk/KDE/kdelibs/; revision=892648
2008-12-04 20:34:04 +00:00
Marco Martin
b596d894e5
keep remove action enabled on panels
...
svn path=/trunk/KDE/kdelibs/; revision=892472
2008-12-04 12:55:34 +00:00
Aaron J. Seigo
5055bf7bf0
the margins should be constant; it's a grid.
...
svn path=/trunk/KDE/kdelibs/; revision=891718
2008-12-02 18:42:06 +00:00
Marco Martin
9fd8a3298d
correctly position new activity when adding one
...
never show text on wider zoom level
svn path=/trunk/KDE/kdelibs/; revision=891258
2008-12-01 13:17:27 +00:00