Marco Martin
dcd645696b
immediately hide the focusindicator if the theme follows native style
...
svn path=/trunk/KDE/kdelibs/; revision=1216376
2011-01-22 22:02:23 +00:00
Marco Martin
0ac2c5b81f
if the theme wants to use the system style, disable completely any focusindicator
...
svn path=/trunk/KDE/kdelibs/; revision=1216322
2011-01-22 17:49:46 +00:00
Aaron J. Seigo
e3ab2c5924
* test the prefix equiv at the right place
...
* prevent unecessary calls on setCustomGeometry by comparing the new and existing geom
svn path=/trunk/KDE/kdelibs/; revision=1214252
2011-01-13 19:49:27 +00:00
Aaron J. Seigo
fd0ad0eda2
don't do a bunch of updates if the prefix remains the same
...
BUG:263049
svn path=/trunk/KDE/kdelibs/; revision=1214249
2011-01-13 19:35:01 +00:00
Aaron J. Seigo
4946385727
avoid some unecesary calls, write an if as a switch
...
svn path=/trunk/KDE/kdelibs/; revision=1178749
2010-09-23 20:24:17 +00:00
Aaron J. Seigo
86794f694f
* make custom prefixes work again
...
* make non-frame based indicators work (sliders now show focus again)
* shave ~8ms off of creation time (bringing it down to ~1ms)
* allow sharing of the FrameSvg object
* constify and sanitize the previously existing constructor
* use QStringBuilder
svn path=/trunk/KDE/kdelibs/; revision=1178168
2010-09-22 09:01:01 +00:00
Marco Martin
bc6d40852b
animate hide of the focus indicator when a button is pressed
...
svn path=/trunk/KDE/kdelibs/; revision=1164481
2010-08-16 21:16:53 +00:00
Marco Martin
6eade776e2
correctly disable glow on focus out
...
svn path=/trunk/KDE/kdelibs/; revision=1128229
2010-05-18 18:32:18 +00:00
Marco Martin
610b3c85df
store the under mouse value, avoids a sync cursor position call
...
svn path=/trunk/KDE/kdelibs/; revision=1127792
2010-05-17 16:35:27 +00:00
Marco Martin
bf5beef483
try to avoid managing eventfilter on delete objects
...
svn path=/trunk/KDE/kdelibs/; revision=1127690
2010-05-17 10:44:34 +00:00
Marco Martin
f8adc81da3
don't initialize to hover
...
svn path=/trunk/KDE/kdelibs/; revision=1126735
2010-05-14 18:34:33 +00:00
Marco Martin
1bbbe5f173
use focusindicator to do button shadows too (perfectly retrocompatible by the way).
...
this makes buttons be correctly aligned in layouts
svn path=/trunk/KDE/kdelibs/; revision=1126591
2010-05-14 12:45:54 +00:00
Marco Martin
3403fea2ca
be invisible when it's first created
...
svn path=/trunk/KDE/kdelibs/; revision=1079119
2010-01-23 17:34:50 +00:00
Aaron J. Seigo
7a46df7066
adapt to Animation API cleanup
...
svn path=/trunk/KDE/kdelibs/; revision=1069731
2010-01-04 09:19:08 +00:00
Marco Martin
09fc589dce
always ensure the geometry is the corret one
...
svn path=/trunk/KDE/kdelibs/; revision=1064760
2009-12-21 17:30:21 +00:00
Marco Martin
6d38a2a3b6
use different focus and hover for horizontal and vertical sliders
...
svn path=/trunk/KDE/kdelibs/; revision=1055167
2009-11-27 13:42:00 +00:00
Marco Martin
495a00cc59
when the size changes resize all frames
...
svn path=/trunk/KDE/kdelibs/; revision=1054744
2009-11-26 17:26:06 +00:00
Marco Martin
86682cb176
the focus indicator can load also simple svg elements instead of
...
framesvgs
the slider uses it to show a glow behind the handle on mouse over or
keyboard focus
svn path=/trunk/KDE/kdelibs/; revision=1048126
2009-11-12 19:31:39 +00:00
Marco Martin
03bb063c62
migrate focusindicator to the new api
...
change the api of fade to be abe to set a start and an end taget
opacities
svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Igor Trindade Oliveira
67ffbf7ff3
janitor job: make it works
...
svn path=/trunk/KDE/kdelibs/; revision=1039010
2009-10-22 13:58:35 +00:00
Aaron J. Seigo
353c7d9aca
one more API shift
...
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b
API cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Marco Martin
ed950edc24
correctly sync with parent geometry
...
svn path=/trunk/KDE/kdelibs/; revision=1037755
2009-10-19 22:19:04 +00:00
Marco Martin
89e73cecd2
animate the highlight with the new animation framework. we got a glow
...
item called FocusIndicaotr, it's private for now and probably it should
remain so
svn path=/trunk/KDE/kdelibs/; revision=1037733
2009-10-19 21:13:54 +00:00