Aaron J. Seigo
d8f1ce657c
use only one actual tip widget, store the data otherwise
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878933
2008-11-02 06:55:10 +00:00
Aaron J. Seigo
1c75cca9e2
break out Plasma::ToolTipManager::Content to Plasma::ToolTipContent and prep it for BC
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878923
2008-11-02 05:58:42 +00:00
Guillaume Pothier
bd7e7b10c9
Added screen management methods to Corona and removed usage of QDesktopWidget in plasmalibs.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877451
2008-10-29 15:22:38 +00:00
Aaron J. Seigo
5eb18a635b
allow tips to autohide; having them just stay there forever and ever is an annoyance. some tips need to be permanent to be useful though (e.g. on the clock) so introduced a way to make that happen. needed to get this in before we go BC =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876166
2008-10-26 16:55:54 +00:00
Kevin Ottens
3488fd23c7
Small API adjustments of ToolTipManager as discussed with Aaron:
...
* clearContent() is back, but no default value to setContent();
* delayedHide() is no more public.
After all I didn't rename it and make it full of static methods
because I noticed the following in the meantime:
1) register/unregister being still around, and passing the
QGraphicsWidget* in most methods, effectively makes it a manager;
2) all managers in libplasma use the singleton pattern, so let's
keep consistency.
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875285
2008-10-23 22:14:07 +00:00
Aaron J. Seigo
6fe3502be7
we have workspace/libs/ for a reason
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874257
2008-10-21 02:31:43 +00:00
Aaron J. Seigo
fae76869af
* make it possible to activate/deactivate/inhibit tooltips globally
...
* delete all the tips; not an important leak as it only gets destroyed on app close, but still...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874248
2008-10-21 01:58:01 +00:00
Aaron J. Seigo
7abb5164a5
remove gratuitous "ToolTip"s
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874244
2008-10-21 01:33:32 +00:00
Aaron J. Seigo
70abf9ff86
first set of API adjustments, via Kevin "API Review Bitch" Ottens
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874234
2008-10-21 01:01:12 +00:00
Allen Winter
81d09742bb
fix spelling
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +00:00
Allen Winter
492fe0e8aa
fixup include guards
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870291
2008-10-12 10:48:53 +00:00
Allen Winter
e88e2faa63
first batch of small coding style fixes.
...
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Aaron J. Seigo
58e9d2c40f
add a convenience method, clearToolTipContent, which turns a common 3 liner into one
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866377
2008-09-30 18:26:50 +00:00
Alex Merry
33f7e1e3d6
Actually relicense the files this time. Last time, I managed to change the text from GPL to... GPL.
...
Again, plasma-devel@kde.org mail archives have the permissions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858780
2008-09-08 17:32:25 +00:00
Alex Merry
90f5feb1a6
Relicense files. See plasma-devel@kde.org mailing list archives for permissions.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858364
2008-09-07 21:33:02 +00:00
Alexis Ménard
384f31bf82
add an activate method to specify if the tooltip has to be displayed or not.
...
Use-case : Display it on demand, when hovering. ie Kickoff
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854098
2008-08-28 20:23:39 +00:00
Alex Merry
e293d7d785
Specify includes in apidocs, so we get
...
#include <Plasma/Foo>
at the top of the apidocs pages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Alex Merry
4a3e5e97fa
Whitespace and docs cleanup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851367
2008-08-23 15:35:10 +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
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
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
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
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