Commit Graph

70 Commits

Author SHA1 Message Date
Alex Merry
8f5f4d8294 Initialise variables (valgrind complained)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845467
2008-08-11 18:42:28 +00:00
Aaron J. Seigo
63bce9d1b4 move all the prive code into private/; makes it much clearer with the division lines are
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00
Aaron J. Seigo
263870d46d the tip can be null
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=837827
2008-07-25 20:18:54 +00:00
Jason Stubbs
12ec0f5c2b Prevent a tooltip from showing after a user has clicked or scrolled on a
widget (until it is re-entered)

Also fixed a small whitespace issue.

Back-port to 4.1 if so desired. :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=837733
2008-07-25 15:20:12 +00:00
Laurent Montel
5e5622ddf2 Not necessary to test it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=836698
2008-07-22 20:21:41 +00:00
Aaron J. Seigo
93131a7cd2 these includes don't belong in the header in the first place
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833620
2008-07-17 07:53:31 +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
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
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
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
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