Commit Graph

9 Commits

Author SHA1 Message Date
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
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
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
c9ce91e944 nicer painting of the bakground. we use the colour scheme from the theme for this, though now an svg. i want this to be a bit more of a standardized element and svg's don't deal overly well with having rounded corners bent to odd proportions =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738425
2007-11-18 21:34:27 +00:00
Aaron J. Seigo
fa25221352 * we don't really need a move button now i guess
* put close at the bottom and move it away a bit
* increase the size of the icons a little bit (i went too small last); though this probably should be a property of the screen res

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738147
2007-11-18 02:00:20 +00:00
Aaron J. Seigo
3af857e265 aseigo's first run over this code;
* don't use magic pixel values, use static const ints and it makes everything so easy to play with
* make the borders and icons much smaller
* allow dragging using any area that isn't the applet. really, we ought to be able to drag on the applet border as well, but ce la vis?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738128
2007-11-18 01:16:47 +00:00
Kevin Ottens
bf77e378a6 Add support for applet handles in plasma containments.
Still a couple of issues to flesh out, but that's usable already.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735845
2007-11-12 19:27:21 +00:00