Kevin Ottens
22f74fc0ca
More removals of Q_WS_* in favor of Q_OS_* or HAVE_X11
2012-08-03 11:45:20 +02:00
Aaron Seigo
03f35f1667
use libkwindowsystem
2012-02-19 14:07:35 +01:00
Stephen Kelly
8d37df4b8f
Remove moc includes that can be omitted.
...
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
David Faure
c7ab521ee7
Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
...
Conflicts:
experimental/libkactivities/
plasma/applet.h
plasma/theme.cpp
staging/libkcoreaddons/src/jobs/kjob.cpp
2011-12-08 19:06:24 +01:00
Aaron Seigo
fe2286c5da
remove unecessary painting
2011-12-07 14:43:07 +01:00
Aaron Seigo
ea8d0dcce2
get rid of the text halos
...
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.
one more "take one thing off" while i'm futzing around in tooltips
2011-12-02 21:48:34 +01:00
Aaron Seigo
464bab7a68
handle titles a little nicer: centered, no wrap for short titles
2011-12-02 21:48:34 +01:00
Aaron Seigo
d1cdb6c7d2
hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding
2011-12-02 21:48:34 +01:00
Aaron Seigo
822243288d
get rid of the text halos
...
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.
one more "take one thing off" while i'm futzing around in tooltips
2011-11-30 15:44:29 +01:00
Aaron Seigo
7e4883f3bb
handle titles a little nicer: centered, no wrap for short titles
2011-11-30 15:39:29 +01:00
Aaron Seigo
3bf1d0d63d
hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding
2011-11-30 15:19:29 +01:00
Aaron Seigo
ef6b65c2b1
simplify
2011-08-07 00:50:20 +02:00
Aaron Seigo
45e428dec5
--deprecatedUsage;
2011-08-07 00:50:20 +02:00
Aaron Seigo
82eee5c3b7
avoid compiling in debug strings when compiled without debug
2011-07-29 15:46:52 +02:00
Aaron Seigo
6150c12907
prevent triggering a crash in Qt's text layouting
...
also simplifies code as a fun side effect.
2011-07-11 21:48:56 +02:00
Aaron Seigo
f056d71baa
simplify
2011-07-11 21:48:56 +02:00
Aaron Seigo
656d6df486
--deprecatedUsage;
2011-07-11 21:48:56 +02:00
Aaron Seigo
9021634a1a
prevent triggering a crash in Qt's text layouting
...
also simplifies code as a fun side effect.
2011-07-11 21:48:44 +02:00
Aaron J. Seigo
2a916cb089
avoid (non-critical) warnings
...
BUG:264069
svn path=/trunk/KDE/kdelibs/; revision=1217570
2011-01-27 22:18:32 +00:00
Diego Casella
a894b07bce
* Prevent plasma tooltips to draw halos on empty lines.
...
Closes review request #6233
svn path=/trunk/KDE/kdelibs/; revision=1210143
2010-12-29 19:36:24 +00:00
Aaron J. Seigo
9ecae806dd
when hidden, don't bother to keep animating the move. the tooltip will be repositioned on show anyways.
...
svn path=/trunk/KDE/kdelibs/; revision=1179173
2010-09-24 18:19:58 +00:00
Aaron J. Seigo
c529b14bab
SVN_SILENT: tidy
...
svn path=/trunk/KDE/kdelibs/; revision=1121283
2010-05-01 02:17:01 +00:00
Fredrik Höglund
48c6fcbe8e
Set the blur region for tooltips and dialogs.
...
svn path=/trunk/KDE/kdelibs/; revision=1100074
2010-03-06 18:25:24 +00:00
Marco Martin
573438a9a8
set the mask only when needed
...
override kwin shadow
svn path=/trunk/KDE/kdelibs/; revision=1099659
2010-03-05 22:36:20 +00:00
Marco Martin
ccc2e7be40
draw halo only for dark text
...
svn path=/trunk/KDE/kdelibs/; revision=1068659
2010-01-01 19:34:40 +00:00
Marco Martin
38d6c5bed9
don't cut halos
...
svn path=/trunk/KDE/kdelibs/; revision=1068658
2010-01-01 19:31:44 +00:00
Marco Martin
42962c662a
use halo painter behind the text
...
svn path=/trunk/KDE/kdelibs/; revision=1068654
2010-01-01 19:17:17 +00:00
Marco Martin
353e1ca88d
add a new member to the tooltip data that decides if the window highlight effect is to be enabled by default or not
...
svn path=/trunk/KDE/kdelibs/; revision=1065864
2009-12-24 14:54:48 +00:00
Marco Martin
db8ece1921
use qpropertyanimation: massively simplify the code
...
svn path=/trunk/KDE/kdelibs/; revision=1057438
2009-12-02 12:23:56 +00:00
Marco Martin
fda0f6c4de
put the windows in tooltips in the list of the highlight effect
...
svn path=/trunk/KDE/kdelibs/; revision=1047602
2009-11-11 15:18:52 +00:00
Marco Martin
4fa7e72b1b
if the tooltip contains windows, highlight it too
...
svn path=/trunk/KDE/kdelibs/; revision=1042991
2009-10-31 12:33:08 +00:00
Aaron J. Seigo
c27ddab67e
QPointer -> QWeakPointer
...
svn path=/trunk/KDE/kdelibs/; revision=1034904
2009-10-13 21:43:35 +00:00
Peter Pan
c201a16450
make the positions of previews, icon and text on plasma tooltip consistent.
...
BUG:198890
svn path=/trunk/KDE/kdelibs/; revision=993317
2009-07-08 13:17:55 +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
d625d40ecc
gah, no more necessary those two vars
...
svn path=/trunk/KDE/kdelibs/; revision=955450
2009-04-17 16:57:16 +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
d2d756f3fd
avoid putting empty text or unhelpful html elements in the tip text
...
svn path=/trunk/KDE/kdelibs/; revision=945121
2009-03-26 22:08:36 +00:00
Marco Martin
13ddc52057
support for multiple windows thumbnails in a tooltip
...
svn path=/trunk/KDE/kdelibs/; revision=941541
2009-03-19 22:15:29 +00:00
Marco Martin
f9ab759b8e
set WA_TranslucentBackground to top level windows
...
svn path=/trunk/KDE/kdelibs/; revision=927085
2009-02-16 19:24:05 +00:00
Aaron J. Seigo
6c041a4232
get sizing right when setContent is called and the tip is already visible
...
BUG:180423
svn path=/trunk/KDE/kdelibs/; revision=911227
2009-01-15 05:59:07 +00:00
Marco Martin
88f9436dbd
don't trust size hints, they lie
...
this makes tooltip sliding a bit more predictable
svn path=/trunk/KDE/kdelibs/; revision=906676
2009-01-06 15:48:54 +00:00
Marco Martin
47c511c86c
build on arm
...
svn path=/trunk/KDE/kdelibs/; revision=904274
2009-01-01 19:17:53 +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
Marco Martin
03733b6b9d
check harder if the tooltip has the proper size
...
svn path=/trunk/KDE/kdelibs/; revision=898694
2008-12-18 19:11:54 +00:00
Marco Martin
eee1671b3c
re-set the window preview when the size changes, since its behaviour
...
depends from the tooltip size
BUG:177378
svn path=/trunk/KDE/kdelibs/; revision=896526
2008-12-13 18:17:36 +00:00
Marco Martin
ba43ebdd06
corrected sizing problem
...
animation jumps a bit less randomly
BUG: 176672
svn path=/trunk/KDE/kdelibs/; revision=893099
2008-12-05 22:48:58 +00:00
Aaron J. Seigo
18885bd0f0
some tooltip regression fixes from moving to QTextDocument; as an added bonus we don't copy the tooltip content anymore!
...
svn path=/trunk/KDE/kdelibs/; revision=884063
2008-11-14 06:06:15 +00:00
Aaron J. Seigo
0bc65a788d
allow custom image, html and css resources in tooltips
...
svn path=/trunk/KDE/kdelibs/; revision=884026
2008-11-14 00:52:29 +00:00