Commit Graph

15 Commits

Author SHA1 Message Date
Aaron Seigo
e34c70415e git rid of the native member, it's redundant; use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
David Faure
a48ae5b0d8 Fix compilation with gcc < 4.5
svn path=/trunk/KDE/kdelibs/; revision=1188570
2010-10-22 16:55:46 +00:00
Aaron J. Seigo
a793185b21 consolidate all the theming (palette, fonts) code for widgets into a private interface: ThemeWidgetInterface. have the relevant *Private classes inherit from it and all the tricky logic is now in one place and consistent.
svn path=/trunk/KDE/kdelibs/; revision=1188314
2010-10-22 00:25:17 +00:00
Aaron J. Seigo
021d8e4823 * don't set the font on the native widget in change events
* don't set the palette on the native widget in change events
* reset the value of customFont when it is set specifically because !customFont (allowing future theme changes to take effect as a result)

svn path=/trunk/KDE/kdelibs/; revision=1187721
2010-10-20 10:07:40 +00:00
Aaron J. Seigo
4c5f141992 don't set the native widget's palette. since this now works in QGraphicsProxyWidget, it now causes new problems: setting the palette on the widget (not the nativeWidget()) doesn't work for users of Plasma::* widgets. love it when work arounds to bugs cause new bugs once the original bugs are fixed upstream. ;)
svn path=/trunk/KDE/kdelibs/; revision=1185467
2010-10-13 13:16:35 +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
Marco Martin
1d1e382b19 no more window icons
svn path=/trunk/KDE/kdelibs/; revision=1149634
2010-07-13 21:49:01 +00:00
Aaron J. Seigo
e9cd616bca erf, API addition that has been sitting on disk here for weeks :/
svn path=/trunk/KDE/kdelibs/; revision=1069239
2010-01-03 01:49:52 +00:00
Marco Martin
06341cfb73 put all context menus in a separate window, resolving cutting and z-order issues
BUG:207956

svn path=/trunk/KDE/kdelibs/; revision=1067048
2009-12-28 19:52:54 +00:00
Aaron J. Seigo
642ac28d10 scripting friendlyness
svn path=/trunk/KDE/kdelibs/; revision=1048880
2009-11-14 03:58:33 +00:00
Marco Martin
67515c758a always use plasma::theme font, unless somebody call setFont on the
widget                                                                                
round two: sync the native widgets fonts with the plasma::theme font,                 
unless setFont was called

svn path=/trunk/KDE/kdelibs/; revision=1023050
2009-09-13 19:18:29 +00:00
Marco Martin
f25dda51df when there are no scrollbars just ignore wheel events
BUG:205879

svn path=/trunk/KDE/kdelibs/; revision=1019292
2009-09-03 09:58:01 +00:00
Marco Martin
80621aa1a7 pretty important textbrowser functions, le's export them
svn path=/trunk/KDE/kdelibs/; revision=971727
2009-05-23 10:23:07 +00:00
Marco Martin
c7aa7e7a6a don't override minimum and maximum sizes so often
svn path=/trunk/KDE/kdelibs/; revision=948218
2009-04-02 15:16:53 +00:00
Marco Martin
aabf1acf74 a proxy for KTextBrowser, with usual style tweaks to make it look
plasmy

svn path=/trunk/KDE/kdelibs/; revision=934734
2009-03-03 17:38:16 +00:00