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
Aaron J. Seigo
88faa0813f
only toggle on left click and let other click go through
...
svn path=/trunk/KDE/kdelibs/; revision=1017716
2009-08-31 09:30:13 +00:00
Aaron J. Seigo
37f65858dc
prevent duplicate actions in the toolbox
...
BUG:200981
svn path=/trunk/KDE/kdelibs/; revision=1016829
2009-08-29 00:33:27 +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
Marco Martin
41deec416d
should be correctly positioned in case of top panels
...
svn path=/trunk/KDE/kdelibs/; revision=979968
2009-06-10 20:25:15 +00:00
Aaron J. Seigo
043a67fb78
SVN_SILENT: minor ws fix
...
svn path=/trunk/KDE/kdelibs/; revision=958824
2009-04-24 19:28:37 +00:00
Aaron J. Seigo
83e4844d52
don't bother with the text lozenge here
...
svn path=/trunk/KDE/kdelibs/; revision=952094
2009-04-10 21:56:12 +00:00
Chani Armitage
73073b7a54
deleteLater is safer. doh.
...
svn path=/trunk/KDE/kdelibs/; revision=941579
2009-03-20 00:23:21 +00:00
Marco Martin
ddc3a4b978
snap in the center of the screen
...
svn path=/trunk/KDE/kdelibs/; revision=938474
2009-03-11 22:33:46 +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
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
Chani Armitage
297b131e1d
don't hide the tool on *any* change - only hide when it's hidden, and delete when its action is deleted.
...
svn path=/trunk/KDE/kdelibs/; revision=923418
2009-02-08 18:27:55 +00:00
David Faure
38133da2db
Fix connect() warning - nobody reads the plasma startup warnings, apparently ;)
...
svn path=/trunk/KDE/kdelibs/; revision=918303
2009-01-29 19:11:15 +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
Adriaan de Groot
968c6a0d68
Disambiguate promoting the qreal values to integers
...
svn path=/trunk/KDE/kdelibs/; revision=901944
2008-12-27 00:31:24 +00:00
Aaron J. Seigo
d2baf76321
toolbox drag improvement by Lukas Dolezal
...
BUG:178707
svn path=/trunk/KDE/kdelibs/; revision=901337
2008-12-25 08:29:03 +00:00
Marco Martin
5e421239c9
always keep toold hidden when their enabled/disabled status changes
...
unhide all the enabled ones when the toolbox is opened
BUG:178014
svn path=/trunk/KDE/kdelibs/; revision=898560
2008-12-18 12:32:06 +00:00
Aaron J. Seigo
97869ca7c7
z value related cleanups, including one fixme
...
svn path=/trunk/KDE/kdelibs/; revision=897861
2008-12-17 00:51:30 +00:00
Aaron J. Seigo
e9411c577e
add tooltips to items, makes it easier to figure out what they do when zoomed out
...
BUG:177835
svn path=/trunk/KDE/kdelibs/; revision=897284
2008-12-15 16:42:29 +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
Marco Martin
c64d38b551
waay more reliable toolbox->toolbar switching, killed the weird
...
d->needsToolbarBehaviour()
svn path=/trunk/KDE/kdelibs/; revision=892273
2008-12-03 22:44:16 +00:00
Beat Wolf
8eeb660cdd
fixing typo. Resolves toolbox that is drawn outside screen
...
svn path=/trunk/KDE/kdelibs/; revision=891521
2008-12-02 12:44:39 +00:00
Jesse Lee Zamora
629a3b3789
Polish the rough edges out of the gradient painting code.
...
svn path=/trunk/KDE/kdelibs/; revision=891051
2008-12-01 01:54:07 +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
Aaron J. Seigo
057d7693fe
sshhhh
...
svn path=/trunk/KDE/kdelibs/; revision=889813
2008-11-27 18:33:11 +00:00
Marco Martin
75dcbe9413
initialize this value, that's why toolbox sometimes was going to left in
...
an unpredictable way
BUG:175796
CCMAIL:release-team@kde.org
svn path=/trunk/KDE/kdelibs/; revision=888589
2008-11-24 22:27:42 +00:00
Aaron J. Seigo
ece148395c
make sure screen is valid before asking for i
...
svn path=/trunk/KDE/kdelibs/; revision=886708
2008-11-19 21:18:37 +00:00
Aaron J. Seigo
b4a67cda4b
remove some todos, add some debug ... though now i can't reproduce the problem where my cashew scoots over the left randomly. hum hum hum
...
svn path=/trunk/KDE/kdelibs/; revision=886331
2008-11-19 00:40:38 +00:00
Aaron J. Seigo
1171ef67d8
deleteLater is unecessary in this case and it just screws up some of our use cases such as the screen saver toolbox
...
svn path=/trunk/KDE/kdelibs/; revision=885859
2008-11-18 00:43:52 +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
9329ce25a2
handle all corners on load
...
svn path=/trunk/KDE/kdelibs/; revision=884088
2008-11-14 08:04:46 +00:00
Aaron J. Seigo
004f5e0276
save move when it's finished; should make reposition() feel less random
...
svn path=/trunk/KDE/kdelibs/; revision=884075
2008-11-14 07:30:35 +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
51c912969b
don't move the tools more than they need to move; makes it possible to hit the buttons agian!
...
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
2008-11-12 03:57:01 +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
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
Kevin Ottens
f66b4d819b
API changes as announced:
...
* ConfigXml becomes ConfigLoader
* Containment::(add|remove)ToolBoxTool(QAction *action) becomes
Containment::(add|remove)ToolBoxAction(QAction *action)
* Flash becomes FlashingLabel
* Icon becomes IconWidget
* PanelSvg becomes FrameSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +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
a039cc7302
don't lose marco's last fix here; svn mv + svn commits made in the meantime == annoying times with svn
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839796
2008-07-30 20:39:58 +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