Marco Martin
43066e49ce
API review:
...
remainSquare(), aspectRatioMode() and their setters are merged in
aspectRatioMode() + setAspectRatioMode(Plasma::AspectRatio)
Plasma::AspectRatio has IgnoreAspectRatio, KeepAspectRatio and Square
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802561
2008-04-29 20:31:18 +00:00
Davide Bettio
ff16201431
API REVIEW: constraintsUpdated() -> constraintsEvent()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801656
2008-04-27 11:04:43 +00:00
Aaron J. Seigo
a3ad7dca00
launch activation sanity: added it back to Corona since it is PUI relevant (and not just desktop specific), move the signal to Applet and chain them so that Applet -> Containment -> Corona
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801102
2008-04-25 17:21:24 +00:00
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
3bfaf57014
API REVIEW: Animation merges with ElementAnimation.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800825
2008-04-24 22:30:53 +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
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
Alexis Ménard
4467261c95
Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
...
applets,
please update to another revision to use the version that works
green flag from aaron
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Aaron J. Seigo
b19eb3eaff
handful more of krazy fixes and i'm done for the night
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776988
2008-02-19 09:12:34 +00:00
Aaron J. Seigo
8472ef7233
raise the applet on clicking of the handle
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774339
2008-02-13 01:53:27 +00:00
Aaron J. Seigo
5e39408689
* don't flicker the handle when we leave before its started showing
...
* take the z value of the applet to preserve stacking order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774328
2008-02-13 00:49:07 +00:00
Chani Armitage
be64c5939d
enable dragging from desktop to panel
...
note: there's no visual feedback before you release the mouse button, and there's no way to drag back to the desktop.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770333
2008-02-03 13:09:21 +00:00
Chani Armitage
a083df39d5
clean up after a mouse release even if we had passed over some other window
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765268
2008-01-23 18:07:42 +00:00
Chani Armitage
9580b6a463
improve code readability and fix a tiny misalignment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765189
2008-01-23 12:12:57 +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
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
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
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
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
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
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
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
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
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
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
Christopher Blauvelt
06295ace02
Piggyback on mart's patch. Add the ability to set the number of lines in the display, fixes
...
Icon::Private::elidedText so the display won't be truncated to one line if the whole text doesn't
fit, and fixes some crashes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753049
2007-12-26 13:44:57 +00:00
Jason Stubbs
45c7a63a1f
If an applet doesn't have a minimum size hint, calculate a minimum size where
...
its content area is a minimum of 16x16
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752324
2007-12-24 07:30:17 +00:00
Aaron J. Seigo
420c0a1996
resize the applet and set rotation matrix on mouse release, not destruction. makes resize->move work properly
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751097
2007-12-21 03:10:35 +00:00
Jason Stubbs
82eae90414
Take translations into account when moving an applet.
...
Patch derived from work done by Thomas Coopman.
BUG: 153927
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748642
2007-12-15 05:48:13 +00:00
Adriaan de Groot
ce8d1ede68
Math functions in namespace std:: ; gcc likes it either way but not everyone does. Also use standard math.h #define which, at 1.57079632679489661923, has way more significant others than before.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746995
2007-12-10 19:52:29 +00:00
Jason Stubbs
80bbadc39f
Operating under the premise that applets will receive notified with
...
constraintsUpdated(LocationConstraint) whenever there is a change in
position relative view makes global geometry handling much easier.
This change ensures that moving an applet via its handle follows the
above premise.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746173
2007-12-08 03:38:11 +00:00
Aaron Eisenberg
f7a0308982
Added the ability to lock desktop widgets and assigned icons to all the desktop context menu actions.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744659
2007-12-04 02:17:21 +00:00
Aaron J. Seigo
7fa8e8e1c0
respect min and max sizes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742405
2007-11-27 23:14:49 +00:00
Aaron J. Seigo
37498d2541
order of operations can be important; dragging between containments still isn't perfect as there is somethings a "jump" of the applet on mouse over before it settles in to where it should be, but this gets a bit closer
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742102
2007-11-27 06:04:45 +00:00
Aaron J. Seigo
28f584f03b
proper order of arguments to get the geometries right. dragging between containments now works pretty well.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742035
2007-11-26 23:38:39 +00:00
Jeremy Paul Whiting
44a7a86a6c
enable moving applets from one desktop containment to another, still a bit buggy, but functional
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742001
2007-11-26 21:57:50 +00:00
Kevin Ottens
1d7f16296d
Also snaps to the original size.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741943
2007-11-26 19:44:40 +00:00
Kevin Ottens
0cbf8a7a48
Snap angles based on the applet coordinates, not the handle ones.
...
Surprisingly the solution didn't involve pi/2... I'm almost
disappointed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741942
2007-11-26 19:37:20 +00:00
Percy Leonhardt
a166f48ccc
Support resizing of applet while handle is visible.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740406
2007-11-23 08:01:29 +00:00
Aaron J. Seigo
9c52d8f067
actually make plasmoid removal work and harden the applet handle against the applet being removed from under it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739867
2007-11-22 05:11:06 +00:00
Aaron J. Seigo
fb73ea9e37
fix button painting position when there is no configure button
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738758
2007-11-19 15:52:17 +00:00
Aaron J. Seigo
8158515bfd
* actually resize the applet rather than just change its matrix
...
* correct the positioning of the close button
* correct the minimum required size bit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738577
2007-11-19 07:58:31 +00:00
Aaron J. Seigo
85e8a49d7c
tighten up the applet handles a little more even
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738555
2007-11-19 07:23:07 +00:00
Aaron J. Seigo
997f9e75a8
allow moving on any part of the applet surface; it seems our widgets still work just fine with this which is pretty cool; in this case i like the event model for QGV =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738454
2007-11-18 23:03:57 +00:00