Commit Graph

68 Commits

Author SHA1 Message Date
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
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
db730a36d9 add a little bit of snapping to the rotate at 90 degree intervals
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738148
2007-11-18 02:37:30 +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
Andre Duffeck
174096635e Add signals that incicate an application launch. DashBoardView can
connect and hide itself then, for example.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737051
2007-11-15 11:06:33 +00:00
Andre Duffeck
f1af4e3271 i forgot to adapt the button mapping at the changed button positions.
Thanks marsmissions for reporting.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736006
2007-11-13 09:00:52 +00:00
Andre Duffeck
29501c53f2 require less space if the applet does not have a configuration interface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735975
2007-11-13 07:43:10 +00:00
Andre Duffeck
a99f124c4d Do not leave a gap if the applet does not have a configuration
interface

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735974
2007-11-13 07:40:21 +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