Commit Graph

19 Commits

Author SHA1 Message Date
Marco Martin
db8ece1921 use qpropertyanimation: massively simplify the code
svn path=/trunk/KDE/kdelibs/; revision=1057438
2009-12-02 12:23:56 +00:00
Aaron J. Seigo
9aa367047c clickable tooltips; plasma-devel@ people: please review API one more time
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=987462
2009-06-26 06:40:15 +00:00
Marco Martin
3075eb4bd6 fix for the billionth time the tooltip positioning borkage, hopefully
this way is a bit more robust

svn path=/trunk/KDE/kdelibs/; revision=955449
2009-04-17 16:55:42 +00:00
Aaron J. Seigo
ea41519c3c this is much clearer, does the same thing and has the benefit of being able to pre-emptively hide the tip in toolTipAboutToShow!
svn path=/trunk/KDE/kdelibs/; revision=903158
2008-12-30 02:04:35 +00:00
Chani Armitage
a98e4c82b2 tooltips don't need an offset if the panel is on the top or left side
svn path=/trunk/KDE/kdelibs/; revision=901879
2008-12-26 20:38:59 +00:00
Aaron J. Seigo
4d38cc53b6 make tooltips orientation aware; fixes problems with panel autohiding as well as avoids some unecessary painting in vertical panels
BUG:178552

svn path=/trunk/KDE/kdelibs/; revision=900840
2008-12-23 19:38:52 +00:00
Aaron J. Seigo
e8eb11a3b7 tell the tooltip widget about the source so it can tel it when it disappears and to prompt it for updates appropriately
svn path=/trunk/KDE/kdelibs/; revision=882588
2008-11-10 23:30:19 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Aaron J. Seigo
80874e9ad7 put the code in a central place, back out the NET stuff as it breaks more than it fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879365
2008-11-03 05:03:36 +00:00
Aaron J. Seigo
7d5c604245 animate that mofo tip!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878938
2008-11-02 07:25:56 +00:00
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
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
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
832782fa73 * proper invokeMethod call, now items actually get notified when the tip is hidden
* allow throttling of the show call to prevent multiple method invokations on create->show

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862467
2008-09-18 21:53:52 +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
1edb8aab86 Clean up tooltips a little, and fix some memory leaks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851425
2008-08-23 16:17:04 +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