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
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