Commit Graph

2533 Commits

Author SHA1 Message Date
Alexis Ménard
21888421bf don't need to be public
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833298
2008-07-16 15:52:53 +00:00
Alexis Ménard
f4ec3034df Add api doc comments + delete old stuff in applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833277
2008-07-16 15:18:08 +00:00
Alexis Ménard
6a9bf59888 lot of API changes for more clarity, fix some bugs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833276
2008-07-16 15:18:02 +00:00
Alexis Ménard
44c8ede79e remove old stuff of tooltips
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833275
2008-07-16 15:17:57 +00:00
Alexis Ménard
47b851dbb3 another cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833274
2008-07-16 15:17:53 +00:00
Alexis Ménard
23f0f8409b debug cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833273
2008-07-16 15:17:49 +00:00
Alexis Ménard
0628f7dcb3 New ToolTip manager that create tool tips easier than before
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833272
2008-07-16 15:17:44 +00:00
Loic Marteau
568ad346d5 use the system size icons instead of an harcoded one
BUG:166646
CCMAIL:panel-devel@kde.org
if it should be backported to 4.1 branche can someone do this ? Thanks !

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833032
2008-07-16 03:53:07 +00:00
Laurent Montel
08667afe43 Fix export (needs by dataengine/nowplaying)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832687
2008-07-15 06:38:20 +00:00
Aaron J. Seigo
eb1beec1dd version files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832542
2008-07-14 22:25:21 +00:00
Alex Merry
cffda2ec3f Clear handles when we go immutable. Also remove an out-of-date TODO.
BUG: 166004

CCMAIL: panel-devel@kde.org
Should be backported.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832059
2008-07-14 00:22:11 +00:00
Alex Merry
d286c118e0 Apidox for the plugin export macro
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832056
2008-07-14 00:06:33 +00:00
Alex Merry
5668672342 Documentation fix.
SVN_SILENT


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832033
2008-07-13 22:00:03 +00:00
William Viana Soares
b828a0efd4 Repaint the widget on request. Among other things now the scroll works well.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832013
2008-07-13 20:50:53 +00:00
Marco Martin
a1ff7b38f4 redraw the parent item when the animation updates
to be backported

BUG: 166347
CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831975
2008-07-13 18:38:56 +00:00
Marco Martin
6e22253b97 fade out the applet handle on mouse release when it has left its
containment
CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831848
2008-07-13 12:52:09 +00:00
Sebastian Sauer
4b0afa6fa7 fix crash cause of a rather interesting design-decision in KConfig;
configgroup = KDesktopFile().desktopGroup()
means that configgroup has now a dangling pointer to it's master :-/

CC_MAIL:panel-devel@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831832
2008-07-13 12:06:53 +00:00
Laurent Montel
4d8374080d Fix potential mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831364
2008-07-12 14:32:54 +00:00
Aaron J. Seigo
008dacd0db yeah, translating is a good idea
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831162
2008-07-12 00:10:02 +00:00
Aaron J. Seigo
3fceec2f20 --4.2 TODO
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831075
2008-07-11 19:38:47 +00:00
Loic Marteau
17e88ccf66 minor code claryfication
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830656
2008-07-10 22:11:18 +00:00
Aaron J. Seigo
f81134ff97 correct save point for applets; now they don't get saved with a 0,0,0,0,0,1 matrix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830604
2008-07-10 20:20:37 +00:00
Aaron J. Seigo
2c7369030d header too, that helps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830601
2008-07-10 20:16:10 +00:00
Aaron J. Seigo
0a5a98a968 use a gradient on larger handles, from the colour to transparent and back again.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830580
2008-07-10 19:48:55 +00:00
Aaron J. Seigo
960705d5bc fix zOrder persistence regression
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830266
2008-07-10 01:39:18 +00:00
Aaron J. Seigo
6d5e0b18f5 fix various handle regressions, including:
* move applet or resize it then move with handle and it pops to a new location
* handles unhover too soon
* handles don't show on the correct side always
* handles are not visually associated well enough with the target applet
* icons are hard to see
BUG:166149

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830264
2008-07-10 01:35:51 +00:00
Script Kiddy
c89d4239d7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=829587
2008-07-08 17:29:47 +00:00
Loic Marteau
4b36ec4560 - some code rewriting in calculate size to become more readable
- use m_applet->contentsRect().top() for positionning the top of applet handle
- increase a little the leave interval timer to let the user reach the applet handle a little more easily


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=829263
2008-07-07 22:59:03 +00:00
Aaron J. Seigo
0e5f15dc50 * add Corona::addContainmentDelayed for more control on the Corona subclass side during default layout loading
* accept bad config objectsin Applet::save and Containment::save
* move some initialization code around to be more robust with external use (will make more sense in next commit to workspace/plasma/plasma)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828940
2008-07-07 02:16:08 +00:00
Andrew Lake
31c7b8d064 Use transform-scale instead of transform-move icon for resize. Not a fan of the current
oxygen icon but that's an artwork issue.

Approved by Marco Martin.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828921
2008-07-06 23:23:52 +00:00
Aaron J. Seigo
9ccc9336a5 * prevent removing active containments (brute force mechanism: just ignore the request totally)
* select the correct containment for removal when zoomed out (will have isses on multi-screen; see FIXME)
* move containment destruction logic out of Corona; it really doesn't belong there
* remove the hack to not set focus on a containment when clicked as that doesn't seem to reliably trigger it for me here and it doesn't address the issue of a new containment still messing things up, so we really ought to have a generic solution instead of a slightly ugly hack

BUG:id=165670

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828906
2008-07-06 22:43:53 +00:00
Marco Martin
02203edad2 check if the applet pointer has been resetted to 0 by switchContainment
BUG: 165850

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828716
2008-07-06 13:01:02 +00:00
Aaron J. Seigo
6425a5a4d9 no wonder people on suse were missing the toolbox; it's pretty much invisible with aya. still need something more visible, i think, but this is better (as in: moderately visible) and we can visit it again in 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828645
2008-07-06 10:22:40 +00:00
Aaron J. Seigo
762be363ec rework the toolbox creation, containment type setting and isContainment setting code to make it resilient against when and where those properties are set
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828636
2008-07-06 10:03:10 +00:00
Aaron J. Seigo
6230340508 allow for customized panels; we only touch them for geometry management and nothing else
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828634
2008-07-06 09:49:23 +00:00
Aaron J. Seigo
e675d65da3 --compiler_warning;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828631
2008-07-06 09:45:31 +00:00
Script Kiddy
4ac3957747 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828584
2008-07-06 05:35:58 +00:00
Loic Marteau
2689994448 Replace the frame in the applet handle with something more tiny.
Thanks to Marco Martin for his help on the shape zone stuff. 

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828484
2008-07-06 00:18:43 +00:00
Aaron J. Seigo
87cdc14398 fix test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828245
2008-07-05 05:22:46 +00:00
Aaron J. Seigo
6a912784f2 separate concept of Category from Type and get it right in the file written out!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828243
2008-07-05 05:21:07 +00:00
Aaron J. Seigo
1e35b37d5c SVN_SILENT: ws tightening
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828242
2008-07-05 05:20:40 +00:00
Aaron J. Seigo
0d9ab9ab38 it's *always* Type=Service
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828239
2008-07-05 05:13:00 +00:00
Aaron J. Seigo
a404763830 don't check the view for regular applets; the problem only affect containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828205
2008-07-04 21:48:25 +00:00
Marco Martin
f203f0ffff don't setFocus on applets or containments when the view is zoomed out,
that would drive to an automatic scrolling of the view when clicking on
it, hiding other containments

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828193
2008-07-04 21:13:48 +00:00
Aaron J. Seigo
b6393ba5a2 a bit of code detangling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828176
2008-07-04 20:39:45 +00:00
Aaron J. Seigo
be453f062b type and version setting so qstyleoption_cast works
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828146
2008-07-04 19:24:45 +00:00
Aaron J. Seigo
b9419d74bb don't fade out when we're toggled until we closed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828087
2008-07-04 16:47:01 +00:00
Aaron J. Seigo
6f06fd2590 take care of our own connecting, thank you very much
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828086
2008-07-04 16:46:30 +00:00
Aaron J. Seigo
9e8629645a always connect the toolbox toggle signal to the containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828085
2008-07-04 16:45:34 +00:00
Aaron J. Seigo
55db8b640a update the hearder guard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827964
2008-07-04 09:32:46 +00:00