* 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
otherwise when zooming in the toolbox will stay in toolbar mode and be visible over the desktop (oh boy how much rhis needs to be scrapped)
svn path=/trunk/KDE/kdelibs/; revision=1065542
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
important fix the dragging quirkiness (by not changing the
boundingRect(), only paint it as if it had a different geometry)
svn path=/trunk/KDE/kdelibs/; revision=944004
bug where the input gets killed on widgets with clipchildrentoshape when
there is an ignoretransformations one and makes the thing look better
when there is another view zoomed out (like magnifique plasmoid)
svn path=/trunk/KDE/kdelibs/; revision=934137
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
This patch makes each tool (action) inside a toolbox use all the width available,
giving a better UI effect. Before, each tool had it's own width, giving a sensation
of 'mess' =).
svn path=/trunk/KDE/kdelibs/; revision=926122
containment, don't show text on icons except add windgets and add
activity
show the remove activity button in the toolbox for non active ones
svn path=/trunk/KDE/kdelibs/; revision=891209
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
i see several issues with this method, however, that already existed and will fix that along with implementing save/hide and available space respect later tonight.
svn path=/trunk/KDE/kdelibs/; revision=883080