Commit Graph

1175 Commits

Author SHA1 Message Date
Marco Martin
0d6a38b954 add Qt::TextShowMnemonic when painting text
svn path=/trunk/KDE/kdelibs/; revision=1164885
2010-08-17 21:04:52 +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
Aaron J. Seigo
d6b2d44ae1 pass through mouse events if nobody is connected to us
svn path=/trunk/KDE/kdelibs/; revision=1161817
2010-08-10 21:44:55 +00:00
Aaron J. Seigo
fa1350c34c implement the setter
svn path=/trunk/KDE/kdelibs/; revision=1161802
2010-08-10 21:07:28 +00:00
Aaron J. Seigo
84233ee261 add missing API that is asked for often enough
svn path=/trunk/KDE/kdelibs/; revision=1161784
2010-08-10 19:59:34 +00:00
Marco Martin
b968f22439 neither the scrollwidget nor its scrollingwidget child paints by themselves
svn path=/trunk/KDE/kdelibs/; revision=1158783
2010-08-03 18:43:07 +00:00
Aaron J. Seigo
87a29d9efc createStandardContextMenu can return null; guard against that
BUG:246018

svn path=/trunk/KDE/kdelibs/; revision=1156698
2010-07-29 14:49:06 +00:00
Aurélien Gâteau
beca8835e1 Set page step of scrollbars
This way the size of the scrollbar slider represents the visible portion of
the scrolled widget.

svn path=/trunk/KDE/kdelibs/; revision=1151665
2010-07-19 09:59:59 +00:00
Aaron J. Seigo
78119ec9f4 SVN_SILENT: tidy
svn path=/trunk/KDE/kdelibs/; revision=1150752
2010-07-16 17:04:45 +00:00
Jacopo De Simoi
7879ff137c Do not paint twice most Plasma::Label out there!
svn path=/trunk/KDE/kdelibs/; revision=1150751
2010-07-16 17:04:37 +00:00
Marco Martin
ab688e2471 try to disable ItemSendsGeometryChanges, if won't cause problems, it could be put in several places in plasma
svn path=/trunk/KDE/kdelibs/; revision=1150355
2010-07-15 19:11:29 +00:00
Marco Martin
1d1e382b19 no more window icons
svn path=/trunk/KDE/kdelibs/; revision=1149634
2010-07-13 21:49:01 +00:00
Marco Martin
748d85362c set null icons on the widgets after been put in a proxy.
would hopefully cause a bit less pixmap usage

svn path=/trunk/KDE/kdelibs/; revision=1149631
2010-07-13 21:32:07 +00:00
Giulio Camuffo
8002b2415b add support for adding two qgw on the sides of the tabbar
svn path=/trunk/KDE/kdelibs/; revision=1148951
2010-07-12 08:29:49 +00:00
Giulio Camuffo
93a955c984 do the proper animation when deleting the current tab
svn path=/trunk/KDE/kdelibs/; revision=1147189
2010-07-07 15:17:48 +00:00
Davide Bettio
3cf1e32282 Fixes the year toolbutton hover bug in Plasma::Calendar.
svn path=/trunk/KDE/kdelibs/; revision=1147175
2010-07-07 14:24:38 +00:00
Marco Martin
506a22400c connect to repaintneeded, tat will be emitted when the proper margins have been recalculated
svn path=/trunk/KDE/kdelibs/; revision=1142402
2010-06-24 20:52:14 +00:00
Marco Martin
bc38bec0c7 ensure the main widget is visible after its resize
CCBUG:226429

svn path=/trunk/KDE/kdelibs/; revision=1140801
2010-06-21 14:56:37 +00:00
Marco Martin
79e61661e7 stop animations when the inner widget spontaneously resize
it should fix 226429 and a very similar issue in the netbook, please test :)
CCBUG:226429

svn path=/trunk/KDE/kdelibs/; revision=1140731
2010-06-21 12:20:48 +00:00
Marco Martin
1f1d59fa4d ensure to never filter pout events from our scrollbaars
svn path=/trunk/KDE/kdelibs/; revision=1138783
2010-06-16 18:47:00 +00:00
Marco Martin
b8342b9412 fix the animation
svn path=/trunk/KDE/kdelibs/; revision=1138778
2010-06-16 18:00:38 +00:00
Marco Martin
6e51a2bc2e fix text cutting here too
BUG:241330

svn path=/trunk/KDE/kdelibs/; revision=1136835
2010-06-10 21:42:26 +00:00
Andreas Hartmetz
c7b2aa9134 Compile, and use the usual spacing between operators
svn path=/trunk/KDE/kdelibs/; revision=1136794
2010-06-10 19:05:16 +00:00
Nicolas Lécureuil
c40ea8e691 Fix pushbutton text
BUG: 192988

svn path=/trunk/KDE/kdelibs/; revision=1136786
2010-06-10 18:05:00 +00:00
Marco Martin
a5dc1e58fd correctly resize the svg element
svn path=/trunk/KDE/kdelibs/; revision=1136012
2010-06-08 17:16:01 +00:00
Marco Martin
5b2983c17e animate from the current value, not from 0
BUG:231292

svn path=/trunk/KDE/kdelibs/; revision=1135492
2010-06-07 12:50:06 +00:00
Aaron J. Seigo
89efdef96c bounds checks
BUG:240724

svn path=/trunk/KDE/kdelibs/; revision=1134602
2010-06-04 17:20:57 +00:00
Marco Martin
935e4cb57c don't draw the background if the state is not hover or pressed
BUG:240570

svn path=/trunk/KDE/kdelibs/; revision=1134320
2010-06-03 22:04:55 +00:00
Marco Martin
7aa44c8d93 this return is wrong
svn path=/trunk/KDE/kdelibs/; revision=1134141
2010-06-03 14:16:03 +00:00
Aaron J. Seigo
bbc72390b9 only capture the left clicks
CCBUG:240215

svn path=/trunk/KDE/kdelibs/; revision=1133494
2010-06-01 20:42:24 +00:00
Aaron J. Seigo
ff45696e8b if we have a popup associated with our icon, show it
BUG:240265

svn path=/trunk/KDE/kdelibs/; revision=1133021
2010-05-31 22:42:51 +00:00
Aaron J. Seigo
30b2a10d57 yes, that makes a bit more sense ;)
svn path=/trunk/KDE/kdelibs/; revision=1130605
2010-05-25 19:43:14 +00:00
Aaron J. Seigo
6db772c0db --compilerWarnings;
svn path=/trunk/KDE/kdelibs/; revision=1130580
2010-05-25 18:18:26 +00:00
Marco Martin
c7e7ea0f6d expanding size policy in the pages seems to work better (prefferred is still the parent widget)
svn path=/trunk/KDE/kdelibs/; revision=1130262
2010-05-24 21:20:33 +00:00
Marco Martin
7dc106086c export the clickmessage property
svn path=/trunk/KDE/kdelibs/; revision=1130077
2010-05-24 11:45:46 +00:00
Aaron J. Seigo
9a1a6a671a should be protected (the method it is reimplementing is protected), but since it was screwed up like this in a release, needs to go back. meh.
svn path=/trunk/KDE/kdelibs/; revision=1130006
2010-05-24 07:37:54 +00:00
Marco Martin
05c9cab404 paint labels in text color if not manually set
svn path=/trunk/KDE/kdelibs/; revision=1129448
2010-05-22 12:49:25 +00:00
Marco Martin
5f04930024 if an invalid svg was set, return an empty string as svg()
svn path=/trunk/KDE/kdelibs/; revision=1129430
2010-05-22 11:35:53 +00:00
Aaron J. Seigo
31fda702c4 make the clicking actually work
BUG:233746

svn path=/trunk/KDE/kdelibs/; revision=1129251
2010-05-21 18:53:15 +00:00
Aaron J. Seigo
2d1fe7b138 don't jiggle
BUG:202949

svn path=/trunk/KDE/kdelibs/; revision=1129021
2010-05-21 02:03:19 +00:00
Aaron J. Seigo
67b79a816c --memoryLeak;
svn path=/trunk/KDE/kdelibs/; revision=1129020
2010-05-21 01:53:48 +00:00
Marco Martin
e0b211b52e use KGlobalSettings::dndEventDelay()
svn path=/trunk/KDE/kdelibs/; revision=1128946
2010-05-20 18:45:27 +00:00
Marco Martin
3f6a5ac01a re enable fading for long text labels
svn path=/trunk/KDE/kdelibs/; revision=1128895
2010-05-20 15:49:05 +00:00
Marco Martin
913d891b8a the widgets that accept input sets their applet status as accepting input as well.
it pretty ugly and duplicated code but doing it at this level is the only way to reliably set the proper status

svn path=/trunk/KDE/kdelibs/; revision=1128660
2010-05-19 21:45:08 +00:00
Aaron J. Seigo
404241f348 move this non-exported class to the private header
svn path=/trunk/KDE/kdelibs/; revision=1128221
2010-05-18 18:04:51 +00:00
Marco Martin
325d6a7c67 e weakpointers for the animated pages: avoids crashes when a tab gets removed and immeadiately added another one (happens when switching activity type for instance)
svn path=/trunk/KDE/kdelibs/; revision=1127865
2010-05-17 20:46:35 +00:00
Marco Martin
2f05f2c3fc get rid of the old animation code and use focusindicator
old themes will have it without animations, but is fine since other widgets are still not animated and the old one was beyond repair
also, get rid of two private slots thankfully added just for 4.5
BUG:235069

svn path=/trunk/KDE/kdelibs/; revision=1126744
2010-05-14 19:18:05 +00:00
Marco Martin
0a4a525237 don't use anymore that pushbutton prefix nonsense
svn path=/trunk/KDE/kdelibs/; revision=1126667
2010-05-14 15:36:19 +00:00
Marco Martin
a27ffd0e97 use pushbutton prefix if available
svn path=/trunk/KDE/kdelibs/; revision=1126613
2010-05-14 13:26:52 +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