Commit Graph

6755 Commits

Author SHA1 Message Date
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
Volker Krause
6f89539ced compile with -pedantic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762324
2008-01-16 20:21:47 +00:00
Marco Martin
9cc8eabf9b SVN_SILENT: don't pass click also on action icons when the mouse was moved
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761954
2008-01-15 18:56:23 +00:00
Marco Martin
67844a4190 SVN_SILENT: don't pass click on main icon when clicking on an action icon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761952
2008-01-15 18:51:43 +00:00
Anne-Marie Mahfouf
39b5eb33ce bug fixe - no need to backport
BUG=155784

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761618
2008-01-15 09:09:00 +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
47fbc5aa5a unused var that snuck in nastily. thanks cowstats.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760678
2008-01-13 09:33:02 +00:00
Aaron J. Seigo
755efb64e8 when setting an animator, we need to associate our children with it.
this probably needs to be done to the other layouts too.
BUG:155596

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760655
2008-01-13 08:22:04 +00:00
Aaron J. Seigo
d191de06d3 to be easily usable outside of libplasma, signals need full namespace usage. we really ought to do a good review of libplasma for this issue
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760653
2008-01-13 08:18:26 +00:00
Aaron J. Seigo
6329570f8f icons moving doesn't trigger a click action
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760630
2008-01-13 05:33:05 +00:00
Jason Stubbs
c4399a67cb Have the icon applet explicitly tell the icon widget that a clicked() signal
isn't wanted after a mouse move rather than the widget assuming so. This means
that icon applets that can't be dragged act like regular buttons again.

Ok to commit this to 4.0 as well?

BUG: 155531

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760441
2008-01-12 17:07:19 +00:00
Aaron J. Seigo
d53ccc3b00 * another, perhaps slightly paranoiac, removeSceneEventFilter
* don't paint the handle behind the applet, based on its shape(). this prevents it from interfering with translucency, etc of the applet itself

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760188
2008-01-12 06:03:54 +00:00
Aaron J. Seigo
16dab9574f * move the header bits around a bit for a more logical ordering (e.g. all static methods together, all reimp'd methods that are really imp details together at the bottom, etc)
* implement a generic shape() method. this is experimental, so will be interesting to see how it goes. it does show we need a good shape hint in the applet background svg =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760187
2008-01-12 06:02:29 +00:00
Aaron J. Seigo
8801af70e5 in case a tooltip becomes permanent, allow clicking it away
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760180
2008-01-12 05:32:07 +00:00
Marco Martin
834ce37f54 implement activated() slot for Plasma::Icon
and use it in IconApplet

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760054
2008-01-11 20:30:25 +00:00
Aaron J. Seigo
f02a65c95e make globalConfig() work properly even for containments
BUG:155454

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760003
2008-01-11 18:21:53 +00:00
Aaron J. Seigo
3d6c1c5527 give some shape to the icon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760002
2008-01-11 18:17:24 +00:00
Alex Merry
0cac630a79 Get rid of those jagged lines straight away.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759888
2008-01-11 12:11:16 +00:00
Aaron J. Seigo
e8eca7eb2a stop the timer when we start the anim to prevent timer/hide/shows anyways ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759692
2008-01-11 05:11:08 +00:00
Christopher Blauvelt
f46a6a269c Use mouseDoubleClickEvent instead of a custom implementation.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759629
2008-01-10 23:29:05 +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
Marco Martin
1c5074c7c3 search for different background svgs when composite is disabled
squared edges without shadows are preferred without composite

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759551
2008-01-10 20:53:13 +00:00
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