Commit Graph

36 Commits

Author SHA1 Message Date
Aaron J. Seigo
6e80fe4354 Phase becomes Animator
Animator becomes AnimationDriver

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800870
2008-04-25 03:11:59 +00:00
Davide Bettio
aa5f747305 API REVIEW: Phase -> AnimatorDriver
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800840
2008-04-24 23:21:17 +00:00
Davide Bettio
175cf065e7 API REVIEW: AnimId -> int
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800804
2008-04-24 21:26:36 +00:00
Davide Bettio
eba58a193d API REVIEW: *Slide* -> *Slide*Movement
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800796
2008-04-24 21:06:08 +00:00
Anne-Marie Mahfouf
36bc2c4e97 Plasma::Theme::self() -> Plasma::Theme::defaultTheme() as planned during the sprint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799919
2008-04-22 21:10:14 +00:00
Marco Martin
b175042a04 - boundingRect() now is pure virtual in Toolbox class
- correctly places the toolbox in vertical panels

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799135
2008-04-20 14:23:37 +00:00
Dmitry Suzdalev
b237019d4f Plasma API adjustements:
Theme::colors() => Theme::colorScheme()
Theme::image() => Theme::imagePath()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797634
2008-04-16 15:53:16 +00:00
Marco Martin
f4e44f397e panel toolbox looks way better, but is not displayed right now because
isContainment of the panel returns false again and it seems geometry()
returns a size of 0x0 in constraintsUpdated

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797075
2008-04-14 21:09:15 +00:00
Marco Martin
e9e16e2a89 Desktop toolbox should appear in less funny positions
AND                                                                                               
beginning of a panel toolbox 
actually untested with the woc port for now

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796873
2008-04-14 13:05:49 +00:00
Alexis Ménard
2cc5870dd6 port ++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796617
2008-04-13 21:47:47 +00:00
Aaron J. Seigo
5ea3cb88e1 give us a bit more of a border so faster mouse movements work too, without ruining the whole effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783029
2008-03-06 20:24:59 +00:00
Aaron J. Seigo
ddc2f0e6e5 don't expand unless we actually cross the threshold; this prevents, e.g. expanding when closing a window or moving from a window title bar to the canvas when the title bar overlaps the toolbox
CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781885
2008-03-03 19:53:13 +00:00
Riccardo Iaconelli
8680797130 Make the desktop toolbox ignore zoom-ins and zoom-outs,
and therefore always remain visible and clickable.
Fix celeste's "bug". :-)

Shall it always remain on the top-right corner? I'll let
the panel-devel folks decide.

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>

CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778736
2008-02-24 13:35:30 +00:00
Aaron J. Seigo
a2c89abc03 put this unreasonably high up so that we really limit the possibility of applets running into it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774333
2008-02-13 01:40:02 +00:00
Aaron J. Seigo
9df86adbd2 * hide items that are disabled while they are shown
* enforce a 100ms delay between showing/hiding which helps reduce the jitters

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=768453
2008-01-30 03:40:17 +00:00
İsmail Dönmez
730266dc65 if m_toolBacker would be true this line would crash, thanks to Christoph Bartoschek for reporting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764515
2008-01-21 23:52:42 +00:00
Stephan Binner
404b0b74d1 open toolbox when the dashboard view starts (to show the
user a way how to "Hide Dashboard" again)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764361
2008-01-21 15:10:19 +00:00
Riccardo Iaconelli
566e1bdff2 Get rid of the (now useless) warning
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762713
2008-01-17 18:35:23 +00:00
Aaron J. Seigo
6a26e85e1a make the colorization effect more noticeable, which in turn makes it feel smoother.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761575
2008-01-15 07:09:21 +00:00
Aaron J. Seigo
06bc11af8c nice solution for no flicker, no jerky hurkey jerky jerk in the toolbox; put an invisible item behind all the tools ;)
BUG:154828

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759555
2008-01-10 21:05:56 +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
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
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
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
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
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
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
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
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
Jason Stubbs
b97d76a52e Speed up the toolbox animations a bit. Arbitrary values, but 250ms still looks
smooth here whereas 200ms (what I really wanted) doesn't. Nothing else appears
to use Phase::moveItem() at the moment so am changing it directly. The duration
change in ToolBox is so that the moveItem() animation and customAnimation match
up exactly.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756456
2008-01-03 09:43:13 +00:00
Craig Duquette
590e039859 Changes the toolbox tools from buttons to icons.
Changes the toolbox icon from 'configure' to 'plasma'
Changed the toolbox gradient to something "prettier"

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755534
2008-01-01 19:57:40 +00:00
Aaron Eisenberg
610945f0fc Rename the toolbox files to be desktop specific.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751080
2007-12-21 01:14:32 +00:00