Commit Graph

13 Commits

Author SHA1 Message Date
Aaron J. Seigo
b19eb3eaff handful more of krazy fixes and i'm done for the night
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776988
2008-02-19 09:12:34 +00:00
Marco Martin
2f6a8de658 recalculate all the margin sizes when the plasma theme changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772465
2008-02-08 20:50:55 +00:00
Aaron J. Seigo
c7779d983e helps to make it an actual slot, no?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771348
2008-02-05 19:17:50 +00:00
Aaron J. Seigo
9aa26c5e35 * set the palette on theme changes only
* don't grab the data until actually shown
* show the right size and position when we are showing the tip
* allow the tooltip to figure out it's size with the help of the widget (it knows when to do this, the widget only knows how)
* don't show the tip on every item's mouse over, respect the small timeout
* only create a ToolTipData struct for those items that actually use it (memory savings as well as makes the check for showing the tip a lot simpler)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771314
2008-02-05 18:26:17 +00:00
Aaron J. Seigo
8801af70e5 in case a tooltip becomes permanent, allow clicking it away
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760180
2008-01-12 05:32:07 +00:00
Ryan P. Bitanga
6e46fe97ff Use colors from palette instead of hard coded Qt::Black, keep mask functionality in resizeEvent()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758301
2008-01-07 15:03:14 +00:00
Ryan P. Bitanga
9bace0db16 Fix style
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758298
2008-01-07 14:58:50 +00:00
Aaron J. Seigo
7b5c62982d commit ryan's black border on tooltip patch so i can merge to the branch soon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758187
2008-01-07 04:41:30 +00:00
Aaron J. Seigo
402cfc7d26 self(), not instance(), in line with all other singletons in plasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758186
2008-01-07 04:39:36 +00:00
Aaron J. Seigo
dc4981ec41 include a slight mod of ryan's curved corner patch; committing directly to ensure we make the deadline
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756856
2008-01-03 21:02:32 +00:00
Luboš Luňák
89ab030a89 Use KWin's TaskbarThumbnail effect to show window previews in tooltips.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756513
2008-01-03 11:35:42 +00:00
Jason Stubbs
f3e52b76cb Record which tooltip is being shown so that tooltip data updates don't change
which to another widget's tooltip.

BUG: 154719

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754590
2007-12-30 10:17:33 +00:00
Dan Meltzer
357656f660 Add a generic tooltip widget to Plasma::Widget and implement it in the tasks applet.
Applets wishing to use this tooltip should Create a Plasma::ToolTipData struct 
(defined in widget.h) and pass it to Widget::setToolTip().  Showing and hiding
the tooltip is all handled automatically.

While the basic idea is found in this patch, the look still definatly needs some
work.  Still a definate work in progress.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751113
2007-12-21 05:33:17 +00:00