Commit Graph

1144 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
6c5f292e2f we're not checking the value, use a static_cast
svn path=/trunk/KDE/kdelibs/; revision=1125894
2010-05-12 16:17:33 +00:00
Marco Martin
4ab87220a3 try to be more strict when the policy is fixed:
the minimum and the preferred size are the same (i.e. avoid to cut away text, always)

svn path=/trunk/KDE/kdelibs/; revision=1125673
2010-05-11 22:06:17 +00:00
Marco Martin
fe9e96f8bf reset the old icon when a mouseover occurs
svn path=/trunk/KDE/kdelibs/; revision=1125592
2010-05-11 19:43:19 +00:00
Aaron J. Seigo
d1263e7096 don't set the size policy to be fixed
BUG:181241

svn path=/trunk/KDE/kdelibs/; revision=1125260
2010-05-11 04:02:00 +00:00
Aaron J. Seigo
a6991a8417 SVI_SILENT: cleanup
svn path=/trunk/KDE/kdelibs/; revision=1125259
2010-05-11 03:51:22 +00:00
Marco Martin
20d58299b2 handle keypresses (but don't steal them)
is the last thing that was missing from kineticscrolling

svn path=/trunk/KDE/kdelibs/; revision=1124609
2010-05-09 16:57:05 +00:00
Aaron J. Seigo
56d063430e let's try this out without our "work around Qt bugs" hack and see if Qt is now well behaved
svn path=/trunk/KDE/kdelibs/; revision=1124321
2010-05-08 20:45:36 +00:00
Aaron J. Seigo
fb2d1cf524 respecdt the contents rect
svn path=/trunk/KDE/kdelibs/; revision=1124318
2010-05-08 20:43:51 +00:00
Marco Martin
6dedeb57f6 port the multitouch part to scrollwidget:
unfortunately i have no way to test it right now, but will make possible to delete kineticscroll and deprecate all the corresponding functions

svn path=/trunk/KDE/kdelibs/; revision=1123940
2010-05-07 12:09:48 +00:00
Marco Martin
cbabd3b5cf set the flag in the proper place
svn path=/trunk/KDE/kdelibs/; revision=1123756
2010-05-06 20:48:10 +00:00
Marco Martin
b917c7d14d don't proxy the popup
svn path=/trunk/KDE/kdelibs/; revision=1123754
2010-05-06 20:31:18 +00:00
Kevin Ottens
6a3240b051 libplasma becomes our first lib with profiles support.
svn path=/trunk/KDE/kdelibs/; revision=1120434
2010-04-29 05:57:34 +00:00
Marco Martin
28386758e1 check the tasget item is still alive, crash--
svn path=/trunk/KDE/kdelibs/; revision=1119672
2010-04-27 16:02:51 +00:00
Marco Martin
2fa6d4204c - when the background gets enabled, recalculate hints
- always add item margins to the hint

svn path=/trunk/KDE/kdelibs/; revision=1119097
2010-04-26 14:50:54 +00:00
Marco Martin
e979201682 add maximumIconSize and minimumIconSize properties: last step to have sane size hints
svn path=/trunk/KDE/kdelibs/; revision=1119084
2010-04-26 14:17:08 +00:00
Marco Martin
6bad7500be take the max between width and height
svn path=/trunk/KDE/kdelibs/; revision=1118354
2010-04-24 14:03:48 +00:00
Marco Martin
5b49fc05e1 new property: preferredIconSize, aka the final solution to all layout problems
svn path=/trunk/KDE/kdelibs/; revision=1118322
2010-04-24 12:08:13 +00:00
Marco Martin
b9de116f33 get the margins right.
give the natural svg size if the icon is a svg

svn path=/trunk/KDE/kdelibs/; revision=1118304
2010-04-24 11:30:09 +00:00
Marco Martin
5d9b77ed76 reset any svg icon if a normal one gets set
svn path=/trunk/KDE/kdelibs/; revision=1117890
2010-04-23 11:35:43 +00:00
Marco Martin
3d8425e6ef don't bork horizontal tabbar size
svn path=/trunk/KDE/kdelibs/; revision=1117183
2010-04-21 13:16:46 +00:00
Marco Martin
36e45c7929 behave slightly better in layouts
svn path=/trunk/KDE/kdelibs/; revision=1117180
2010-04-21 13:05:57 +00:00
Marco Martin
b80b091db4 make viewportGeometryChanged actually working
svn path=/trunk/KDE/kdelibs/; revision=1116503
2010-04-19 16:20:08 +00:00
Marco Martin
215e883684 new signal: viewportGeometrychanged
svn path=/trunk/KDE/kdelibs/; revision=1116489
2010-04-19 15:55:04 +00:00
Marco Martin
1d8d908d9b snap animations are snapX and snapY
still todo, create them only when snap is on

svn path=/trunk/KDE/kdelibs/; revision=1116414
2010-04-19 12:44:09 +00:00
Marco Martin
dfb46bb03e a new property: snapSize if one wants to always make the scroll end aligned to a certain grid (is a size, so snap can be different horizontal and vertical)
svn path=/trunk/KDE/kdelibs/; revision=1116100
2010-04-18 16:31:07 +00:00
Marco Martin
ee661f4347 while still adjusting hard size hints, keep the tabbar centered
svn path=/trunk/KDE/kdelibs/; revision=1115434
2010-04-16 12:57:59 +00:00
Marco Martin
6ff8621d3a update fixed size hints as soon as the tabwidgetmode changes
svn path=/trunk/KDE/kdelibs/; revision=1115431
2010-04-16 12:51:07 +00:00
Marco Martin
90a4225a91 add the size of the proper scrollbar, fix epic sizehint fail
svn path=/trunk/KDE/kdelibs/; revision=1112910
2010-04-09 13:18:25 +00:00
Marco Martin
192052b0b7 -make sure hints are invalidated when the inner widget resizes
-the size hint should take into account the -double- border

svn path=/trunk/KDE/kdelibs/; revision=1112548
2010-04-08 13:14:55 +00:00
Aaron J. Seigo
3ec50c411f do the proxy widget resize first, so that the edit rect is correct
svn path=/trunk/KDE/kdelibs/; revision=1112338
2010-04-07 21:45:09 +00:00
Aaron J. Seigo
9eecf8ba7c pass on the resize event.
svn path=/trunk/KDE/kdelibs/; revision=1112336
2010-04-07 21:42:19 +00:00