Aaron J. Seigo
4fc13d171a
* make a QGrahpicsWidget
...
* provide access to the containment pointer
svn path=/trunk/KDE/kdelibs/; revision=1032379
2009-10-07 17:08:44 +00:00
Laurent Montel
ce0cb1e916
Fix "Warning: Class ToolBox implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!" with qt-4.6
...
svn path=/trunk/KDE/kdelibs/; revision=1025997
2009-09-20 12:53:16 +00:00
Aaron J. Seigo
68d9558843
fix desktop toolbox dragging once and for all; i should have implemented dragging like this in the first place. also fixes misplacement of the toolbox on the bottom or right edge of the screen. there's some room for optimization here as cornerSize, fullHeight and fullWidth do a -lot- of manip on the background svg that really is only needed once per drag. in practice, it's not so bad and i'd like to keep the diff as small as possible (it's already huge) so i can backport it without feeling tooo guilty ;)
...
BUG:201672
svn path=/trunk/KDE/kdelibs/; revision=1003346
2009-07-28 03:19:33 +00:00
Alexis Ménard
d4ca38b20f
This almost fix the performance issue when zooming out on plasma-desktop.
...
We don't need to call prepareGeometryChange if the geometry will not
change, this mistake end up with a new paint event that will paint for
nothing.
This should be backported into 4.3
svn path=/trunk/KDE/kdelibs/; revision=997763
2009-07-16 13:09:19 +00:00
Marco Martin
a5f83c0e2b
if a custom config file is specified for the layout restore of the
...
corona, try to restore correctly the cashews positions too
svn path=/trunk/KDE/kdelibs/; revision=980468
2009-06-11 20:04:10 +00:00
Aaron J. Seigo
ff2402b48b
some small tweaks to the desktop toolbox to make it work with the cashew-triggers-dashboard change
...
svn path=/trunk/KDE/kdelibs/; revision=917728
2009-01-28 13:38:57 +00:00
Marco Martin
827876bab0
when the view is zoomed out show all desktop toolboxes as toolbars,
...
makes the thing way more usable
prettier background
and disable the text on maximum zoom out level
svn path=/trunk/KDE/kdelibs/; revision=890259
2008-11-28 17:32:21 +00:00
Adriaan de Groot
5959236882
Match up the declaration of setCorner with its definition (missing const)
...
svn path=/trunk/KDE/kdelibs/; revision=888512
2008-11-24 17:39:03 +00:00
Aaron J. Seigo
d0c7968b18
load and save toolbox position between restarts!
...
still to come:
* don't paint when zoomed, replace with tool strip instead
* respect available area during drag
* smarter positioning (right now it just loads the saved position whenever it needs to reposition)
svn path=/trunk/KDE/kdelibs/; revision=884072
2008-11-14 07:28:02 +00:00
Aaron J. Seigo
7afd2e9d99
first draft of draggable toolbox; doesn't work quite properly yet due to historical oddnesses of the toolbox itself. will finish up in the days to comes; all TODOs are documented
...
svn path=/trunk/KDE/kdelibs/; revision=882217
2008-11-10 03:53:35 +00:00
Aaron J. Seigo
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
3674a94a99
more coding style fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870169
2008-10-11 23:28:20 +00:00
Marco Martin
0df88727ef
allows the Desktop toolbox to be positioned in the four corners or four
...
edges, rendering the right bits of the arc.
this now is used by the containment to render a non cutted toolbox when
there is a panel on top or on right
and to put the toolbox on the left with RTL layouts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853991
2008-08-28 15:59:03 +00:00
Aaron J. Seigo
63bce9d1b4
move all the prive code into private/; makes it much clearer with the division lines are
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00