Commit Graph

19 Commits

Author SHA1 Message Date
Igor Trindade Oliveira
c334033bf3 move panelttoolbox animation to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1077220
2010-01-19 18:12:23 +00:00
Aaron J. Seigo
50726d7f08 rework the toolboxes so that they actually mesh with the API of AbstractToolBox:
* have setShowing call the show/hide feature, not the other way around (fixes bug 202549)
* put the actions in order by the tags applied so that things appear ordered
* allow the toolbox to define what the parent of the tools should be (so the desktop toolbox can use the backing as the parent)
* use a layout in the desktop toolbox background that the tools are in; waaaaaay simpler code as a result
* keep only one svg object around for the desktop toolbox background, not two
* use a QtKinetic animation for the show/hide

i'm not happy with the precise positioning of the desktop toolbox nor with the animation (just a fade in/out right now.. meh) but the hard work is done with this commit and the rest is twiddling (which i'll do in the coming days)
BUG:202549

svn path=/trunk/KDE/kdelibs/; revision=1069706
2010-01-04 06:41:43 +00:00
Aaron J. Seigo
8f3e0d5494 unhighlight when setShow is called; fixes the toolbox in the panel not going back to grey when the toolbox is hidden by clicking on another window
svn path=/trunk/KDE/kdelibs/; revision=1045294
2009-11-05 18:03:33 +00:00
Marco Martin
6b0a4590d2 Export a really simple AbstractToolBox
add a setToolBox function

svn path=/trunk/KDE/kdelibs/; revision=1038024
2009-10-20 14:14:53 +00:00
Aaron J. Seigo
f55ece10b0 add a tooltip to the panel toolbox. hooray for discoverability.
svn path=/trunk/KDE/kdelibs/; revision=1032380
2009-10-07 17:11:03 +00:00
Aaron J. Seigo
fc1c740837 get the highlight/unhilight and shown/unshown sorted out.. now it all works on for the spacer in the panel containment :)
svn path=/trunk/KDE/kdelibs/; revision=958825
2009-04-24 19:29:16 +00:00
Marco Martin
83bfa46f88 use svg again to draw the toolbox background
svn path=/trunk/KDE/kdelibs/; revision=917956
2009-01-28 21:07:38 +00:00
Aaron J. Seigo
c027fb3886 remove some more dead code due to c-n-p from DesktopToolBox
svn path=/trunk/KDE/kdelibs/; revision=886220
2008-11-18 20:47:04 +00:00
Aaron J. Seigo
4f36ceb235 we don't need the timer on this one; it's only useful for the desktop toolbox.
BUG:167782

svn path=/trunk/KDE/kdelibs/; revision=885897
2008-11-18 03:37:43 +00:00
Aaron J. Seigo
1b04d7b8b0 make panel toolboxes position and paint properly; essentially do what i did earlier for the desktop one by caching the colors from the theme and getting rid of the negative coordinates
svn path=/trunk/KDE/kdelibs/; revision=885840
2008-11-18 00:12:05 +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
0eb079d33b ensure the toolbox fits in the panel; makes small panels work better
svn path=/trunk/KDE/kdelibs/; revision=882654
2008-11-11 05:26:52 +00:00
Aaron J. Seigo
beaa49aeb2 ++compile
svn path=/trunk/KDE/kdelibs/; revision=879800
2008-11-04 02:39:56 +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
5f51803436 e PaintUtils::transition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866417
2008-09-30 19:54:04 +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