Commit Graph

3153 Commits

Author SHA1 Message Date
Pino Toscano
c63c0c7305 include fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833610
2008-07-17 07:31:36 +00:00
Laurent Montel
fd3cc633be Need to export it. (fix compile applets/icon)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833588
2008-07-17 06:34:59 +00:00
Aaron J. Seigo
adbf92d5dc disconnect before deleting; we don't want to get informed of any changes from this point forward.
perhaps the cause of the "crash on lock" bug?
CCBUG:166802

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833582
2008-07-17 05:56:52 +00:00
Aaron J. Seigo
a73c3bb39a assign tooltip before moving on
BUG:166800

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833581
2008-07-17 05:54:30 +00:00
Dirk Mueller
5a2b46c73e - coding style
- more plugins to version

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833560
2008-07-17 01:27:43 +00:00
Dirk Mueller
02a008da35 introduce plugin versioning for plasma and ensure
that only applets with a matching major.minor version
are loaded. needs porting to plugins other than applets.

CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833550
2008-07-17 01:11:25 +00:00
Aaron J. Seigo
19b3401af9 * get rid of ToolTipManager::getItemItsApplet
* introduce Plasma::viewFor and Plasma::popupPosition

generally nicer code all around.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833534
2008-07-16 23:48:41 +00:00
Aaron J. Seigo
c1fb3655cd * register widgets when data is set on them if they aren't already registered
* allocate ToolTip objects only as needed
* invoke tool tip show/hide slots on the associated widget to allow for dynamic tooltip data

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833526
2008-07-16 23:27:34 +00:00
Alexis Ménard
24d494fd5a Install event filter is better than reimplement sceneEvent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833521
2008-07-16 23:11:51 +00:00
Aaron J. Seigo
92c7ffc9df * a const fix
* BIG WARNINGS TO AVOID FUTURE ERRORS

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833500
2008-07-16 21:58:36 +00:00
Aaron J. Seigo
853b6a1f93 SVN_SILENT a few bits of code consistency
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833494
2008-07-16 21:48:52 +00:00
Aaron J. Seigo
504ebb9e0c SVN_SILENT ws fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833492
2008-07-16 21:45:52 +00:00
Aaron J. Seigo
84a92918a9 * move the private slots to the private class
* corrections to the on-destruction handler

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833491
2008-07-16 21:44:19 +00:00
Anne-Marie Mahfouf
4ce38c254d consistency with Qt: stylesheet() -> styleSheet() and setStylesheet() -> setStyleSheet()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833427
2008-07-16 20:07:34 +00:00
Alexis Ménard
762481e13e obviously i have drink too much when i write this condition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833386
2008-07-16 18:51:24 +00:00
Aaron J. Seigo
d4818afd6e use KIconLoader::global
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833354
2008-07-16 17:54:46 +00:00
Aaron J. Seigo
9fa78a4688 thought i committed this yesterday; apparently not.. safer handle clearing.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833352
2008-07-16 17:51:58 +00:00
Loic Marteau
7cb619cf68 use SmallIcon() to load icon and be sure that the proper size setting is used
IconSize() seems to not work when doubled icon size is checked in user settings
use a workaround instead

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833344
2008-07-16 17:23:35 +00:00
Alex Merry
56968db224 Actually call registerOperationScheme(). Also document a macro.
CCMAIL:panel-devel@kde.org
Can someone backport this to the 4.1 branch, please?  Otherwise no-one can write services in 4.1.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833339
2008-07-16 17:04:40 +00:00
Alexis Ménard
aa2a6f536d oops don't compile ;) revert the last commit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833299
2008-07-16 15:52:56 +00:00
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