Commit Graph

1583 Commits

Author SHA1 Message Date
Aurélien Gâteau
0d4a6be225 Nicer tooltips:
- No more big font
- Use full width for text label
- Removed gap between main and sub texts

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759530
2008-01-10 20:25:37 +00:00
Aaron J. Seigo
d2a5c1a7af implement a doubleClicked signal.
i must admit that using signals that don't exist to implement needed features in applets is an inventive way to force me to implement stuff in libplasma ;)
BUG:155413

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759525
2008-01-10 20:18:11 +00:00
Aaron J. Seigo
12c0a9ae7e resize now listens to Applet::aspectRatioMode(), reversable with Ctrl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759499
2008-01-10 19:03:31 +00:00
Aaron J. Seigo
311f2380ce per applet aspect ratio guidance with setAspectRatioMode
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759497
2008-01-10 19:02:05 +00:00
Aaron J. Seigo
45e31f3aee need to map from the scene, since we may be rotated or otherwise transformed.
BUG:155372

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759228
2008-01-10 08:21:37 +00:00
Aaron J. Seigo
8c7a064bf8 remove the event filter on both re-show (just in case) and on dtor (prevents a crash)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759161
2008-01-10 07:28:33 +00:00
Aaron J. Seigo
67bbd72c67 allow actions to continue even when moving over another window via some even filtering trickery
BUG:155353

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759112
2008-01-10 01:21:45 +00:00
Aaron J. Seigo
a36c114b4f * make handles disapear reliably
* don't pop them immediately so just moving the mouse around the screen doesn't cause tons of flickering handles

based on a patch by Cody. thanks, guy!
CCMAL:fjctracy@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759079
2008-01-09 23:43:49 +00:00
Script Kiddy
15320f2733 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758818
2008-01-09 10:37:34 +00:00
Sebastian Trueg
824b9a221e Fixed doxumentation a bit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758620
2008-01-08 15:33:26 +00:00
Jason Stubbs
e05a7f7def Change animation timings back to match moveItem()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758615
2008-01-08 14:51:05 +00:00
Thomas Braxton
3cafce3bde KConfigGroups can now be reparented.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758543
2008-01-08 07:34:53 +00:00
Aaron J. Seigo
36b786137e don't jitter when moving between buttons
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758535
2008-01-08 05:04:11 +00:00
Aaron J. Seigo
f7d3a27b1e fix context menus on applets that are also containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758527
2008-01-08 04:01:42 +00:00
Aaron J. Seigo
2e050f7b05 convenience accessor to background widget colour
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758502
2008-01-08 01:43:13 +00:00
Aaron J. Seigo
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Alex Merry
d01c48e722 Last handle rotation fix (hopefully).
Now the handles are drawn where you'd expect on a rotated applet, and rotating an already rotated applet starts where it was when you clicked on the rotate button, rather than jumping back to "not rotated" and moving from there.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758496
2008-01-08 01:22:44 +00:00
Alex Merry
553bbefd19 Fix the jump when the applethandle disappears as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758489
2008-01-08 00:52:34 +00:00
Aaron J. Seigo
2073330692 * remove unneeded members (like a copy of the icon)
* don't re-do math we've already done (progress var)
* go from disable dto enabled, after all that is exactly what's happening: when you mouse over it becomes active. now that the items don't overlap the icon this works out nicely; it also makes the toolbox less LOUD and in your face when not in use

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758486
2008-01-08 00:41:53 +00:00
Alex Merry
b1d5d22ffe use the same co-ordinate system as when actually rotating; prevents an iritating jump
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758485
2008-01-08 00:39:32 +00:00
Ryan P. Bitanga
3328d293ae Give runners priority levels
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758482
2008-01-08 00:21:10 +00:00
Aaron J. Seigo
96e998763b use winter's awesome trick to set the default debug area
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758467
2008-01-07 23:33:55 +00:00
Craig Duquette
663aca785c Removed hardcoded color value
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758452
2008-01-07 23:01:38 +00:00
Aaron J. Seigo
b0786e6528 avoid placing the items over the icon; much more readable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758450
2008-01-07 22:53:52 +00:00
Craig Duquette
55d699dace toolbox's icon "fades" to gray when expanding
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758449
2008-01-07 22:52:21 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Aaron J. Seigo
b03a2588d2 make setFile actually work
CCMAIL:notmart@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758400
2008-01-07 20:20:02 +00:00
Aaron J. Seigo
9db2d7e783 SVN_SILENT: fix the debug output too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758399
2008-01-07 20:19:16 +00:00
Craig Duquette
53c0b890a9 Re-enable zoom-in/zoom-out in the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758367
2008-01-07 18:49:25 +00:00
Riccardo Iaconelli
a0026909d2 Better align time to the toolbox movement.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758309
2008-01-07 15:35:43 +00:00
Ryan P. Bitanga
6e46fe97ff Use colors from palette instead of hard coded Qt::Black, keep mask functionality in resizeEvent()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758301
2008-01-07 15:03:14 +00:00
Ryan P. Bitanga
9bace0db16 Fix style
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758298
2008-01-07 14:58:50 +00:00
Alex Merry
77ef55b587 Bye, bye, deprecated KLibLoader usage.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758257
2008-01-07 12:50:17 +00:00
Craig Duquette
925ad32b9a Smooth the outer edge of the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758198
2008-01-07 05:46:53 +00:00
Aaron J. Seigo
483851b361 trigger a re-calc of the icon size when text is set. fixes icon presentation on reload at startup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758190
2008-01-07 05:09:09 +00:00
Aaron J. Seigo
7b5c62982d commit ryan's black border on tooltip patch so i can merge to the branch soon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758187
2008-01-07 04:41:30 +00:00
Aaron J. Seigo
402cfc7d26 self(), not instance(), in line with all other singletons in plasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758186
2008-01-07 04:39:36 +00:00
Craig Duquette
e9b9ccf11e Use plasma's theme colors for the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758184
2008-01-07 04:33:44 +00:00
Aaron J. Seigo
32c6c94c76 some kiosk/immutability logic fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758174
2008-01-07 04:00:39 +00:00
Aaron J. Seigo
033f1f52b3 * immutability is handled by the applet
* Applet::isImmutable already checks for Corona immutability
* vertical means y, not x ..*sigh*

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758173
2008-01-07 03:56:46 +00:00
Aaron J. Seigo
500e305b65 10% difference to alter size felt too much ; try dndDelay and pixel based values instead
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758171
2008-01-07 03:40:12 +00:00
Aaron J. Seigo
5614923b50 applet sets the immutability properly, corona doen't need to do this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758165
2008-01-07 02:26:46 +00:00
Aaron J. Seigo
ea793d2259 move panels even on vertically arranged monitors up into negative space
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758160
2008-01-07 02:15:29 +00:00
Aaron J. Seigo
da34471e13 add a way for Containments to get notified that startup is indeed complete
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758066
2008-01-06 20:38:35 +00:00
Alex Merry
fe9464124c Swap the "configure" and "resize" buttons on the applet handles, so resizing works better.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757941
2008-01-06 15:17:45 +00:00
Percy Leonhardt
84f2fad73e The signalplotter needs to know when it is resized. Otherwise the plots are too short for the current width.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757903
2008-01-06 12:49:32 +00:00
Marco Martin
454d824d4f removing sizeHint() since it's identical to Widget::sizeHint()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757897
2008-01-06 11:41:15 +00:00
Jason Stubbs
b5983aed50 Flush constraints in corona rather than containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757860
2008-01-06 07:17:53 +00:00
Alex Merry
7524f321dd Improve the resize/rotate interface:
We now have a separate resize button.  The rotate button just rotates.
The resize button scaled with fixed aspect ratio by default, or freely with CTRL.

It's trivial to change it so it resizes freely by default (or to change the access key) if we want.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757843
2008-01-06 03:13:07 +00:00
Alex Merry
8e01063d12 Prettier toolbox when closed - the gradient now fades all the way out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757841
2008-01-06 02:50:34 +00:00