Commit Graph

1319 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
c00b3a9b4a * drop the "to be hidden timer"
* don't immediately reset isShown, that's why we have the timer in the first place (really, it just looks like left-over code from before the hide timer)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757828
2008-01-06 00:50:56 +00:00
Aaron J. Seigo
658f0c4bb3 * 150ms delay for already shown tooltips, just as we did with kicker, to prevent overwhelming lower end cpus (or network connections, for that matter)
* 500ms delay for new tooltips up from 300ms which worked rather nicely in kicker as well

(trying to learn from kicker, not forget it ;)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757827
2008-01-06 00:43:49 +00:00
Riccardo Iaconelli
83844b66a2 SVN_SILENT Fix comment!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757780
2008-01-05 21:48:33 +00:00
Riccardo Iaconelli
9b81fdea2e Make the toolbox animation faster, and completely slideout the tools. Merged with a patch from Alex Merry, that contains better math.
TODO: make the tools slide out faster too, right now Phase does not support that (at least via moveItem).

CCMAIL: huntedhacker@tiscali.co.uk

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757770
2008-01-05 21:16:35 +00:00
Riccardo Iaconelli
5ad643f313 Show tooltip after a shorter delay, for discoverability issues.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757769
2008-01-05 21:16:30 +00:00
Marco Martin
eff9536215 Make icon applets to work in panel:
sizehint of icon widget returns size() instead of the stored one to preventing returning (-1,-1) for the first time
and initialize a size in the icon applet

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757756
2008-01-05 20:25:18 +00:00
Laurent Montel
ed93750db3 Make text selectable just by mouse (Qt::TextSelectableByMouse) in
fealure applet text (otherwise we was able to change text...)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757582
2008-01-05 13:00:10 +00:00
Alex Merry
ec09262001 Allow free resizing (without maintaining aspect ratio) by holding down CTRL.
This should probably be documented somewhere.  Plasma should probably have docs.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757567
2008-01-05 11:58:48 +00:00
Jason Stubbs
91300d6fc9 s/SIGNAL/SLOT/ typo fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757552
2008-01-05 10:50:12 +00:00
Jason Stubbs
1e247fa749 Flush containment constraints as soon as they are loaded so that they can be
acted upon without having to wait for the event loop. This is needed so that
the desktop doesn't temporarily appear white when a wallpaper hasn't been
set.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757548
2008-01-05 10:35:32 +00:00
Jason Stubbs
6e95d0617e If the item's state changes half way through a fade animation, the opacity
will be left != 1.0. Reset it if the state has changed to something else.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757522
2008-01-05 08:34:23 +00:00
Aaron J. Seigo
8d909f6f0e listen to config save requests from containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757442
2008-01-04 23:14:06 +00:00
Stephan Binner
a0103a9c6a i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757289
2008-01-04 16:53:55 +00:00
Script Kiddy
0e32b4150f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757112
2008-01-04 08:40:56 +00:00