Commit Graph

6378 Commits

Author SHA1 Message Date
Ingomar Wesp
e049ecb34d Do not require an exact match for size hinted elements, but search for the smallest size hinted element that is bigger than the display size. Thanks to mommertz, who outlined and mentored this patch, element ids are cached both locally and in the theme, so no additional calls to createRenderer are required.
This was discussed in <http://svn.reviewboard.kde.org/r/5689/>.

svn path=/trunk/KDE/kdelibs/; revision=1191192
2010-10-29 22:14:18 +00:00
Marco Martin
c251a29564 fix logic about show/hide of scrollbars
svn path=/trunk/KDE/kdelibs/; revision=1191181
2010-10-29 21:09:06 +00:00
Marco Martin
3b9158f1c0 don't show the childs widget if the group is collapsed, not the item
svn path=/trunk/KDE/kdelibs/; revision=1191175
2010-10-29 20:19:05 +00:00
Aaron J. Seigo
ca4e345c15 use button text for normal text, preserves theme compatibility with prior releases
svn path=/trunk/KDE/kdelibs/; revision=1191136
2010-10-29 17:25:24 +00:00
Aaron J. Seigo
afe897be89 * restore the color alpha after altering it
* use button text color for button text (sounds more logically obvious than it was ;)
* optionally use button text color for regular text as well (used by spinbox, lineedit)

svn path=/trunk/KDE/kdelibs/; revision=1191135
2010-10-29 17:25:00 +00:00
Script Kiddy
ae65ef0b78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1190961
2010-10-29 09:24:51 +00:00
Ivan Čukić
125193b9f1 prevent infinite recursion
svn path=/trunk/KDE/kdelibs/; revision=1190859
2010-10-29 08:25:57 +00:00
Script Kiddy
78f2883181 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1190595
2010-10-28 08:33:11 +00:00
Script Kiddy
f0752546aa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1189886
2010-10-26 09:58:53 +00:00
Marco Martin
a52e2fc7af export properties and invokable start() to be able to use this from javascript
svn path=/trunk/KDE/kdelibs/; revision=1189765
2010-10-25 20:03:21 +00:00
Marco Martin
4e6eb9a316 uncomment this again, doesn't seem to crash anymore
svn path=/trunk/KDE/kdelibs/; revision=1189764
2010-10-25 20:02:13 +00:00
Kevin Ottens
526e700b09 Make sure it builds without KIO.
CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1189682
2010-10-25 15:03:54 +00:00
Marco Martin
37d302047e don't block events on text elements that have Qt::TextSelectableByMouse
svn path=/trunk/KDE/kdelibs/; revision=1189643
2010-10-25 13:37:31 +00:00
Script Kiddy
21869b4aa2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1189545
2010-10-25 09:01:00 +00:00
Marco Martin
6bc40f06d0 notify the current index changed
svn path=/trunk/KDE/kdelibs/; revision=1189378
2010-10-24 21:36:50 +00:00
Marco Martin
535be3c4e2 correct the date storing
svn path=/trunk/KDE/kdelibs/; revision=1189354
2010-10-24 19:19:15 +00:00
Marco Martin
c2b3a225ab fix both retrieve queries
svn path=/trunk/KDE/kdelibs/; revision=1189333
2010-10-24 17:04:43 +00:00
Manuel Mommertz
898db0a262 use sized prefix again if the element has one
svn path=/trunk/KDE/kdelibs/; revision=1189288
2010-10-24 13:42:33 +00:00
Script Kiddy
f519ff9a6c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1189217
2010-10-24 09:05:18 +00:00
Marco Martin
3333b71a3d . and - are not permitted as table names
svn path=/trunk/KDE/kdelibs/; revision=1189004
2010-10-23 17:28:08 +00:00
Marco Martin
9fcf5d4980 * update the storage operations
* add a special case in pluginloader for storage (don't think storage should be made a plugin)

svn path=/trunk/KDE/kdelibs/; revision=1189000
2010-10-23 17:02:49 +00:00
Marco Martin
69acb66426 register Services as service types
svn path=/trunk/KDE/kdelibs/; revision=1188966
2010-10-23 14:19:07 +00:00
Marco Martin
fc454d4ab8 * "source" is "group"
* if no group is specified, "default" is assumed

svn path=/trunk/KDE/kdelibs/; revision=1188942
2010-10-23 12:14:33 +00:00
Marco Martin
aa08ed2808 delete already existing values before inserting new
svn path=/trunk/KDE/kdelibs/; revision=1188939
2010-10-23 12:06:21 +00:00
Marco Martin
72110136bc the table name depends from the plugin name of who is using storage
svn path=/trunk/KDE/kdelibs/; revision=1188938
2010-10-23 12:04:24 +00:00
Script Kiddy
0bd34bdd36 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1188902
2010-10-23 09:32:21 +00:00
Aaron J. Seigo
bea0aaed50 set up the theming in IconWidgetPrivate::init() instead of its ctor as that ends up causing a call to changeEvent, and so if call from the private class' ctor the d member of IconWidget isn't assigned (IconWidgetPrivate is still being constructed) and causes a crash
svn path=/trunk/KDE/kdelibs/; revision=1188698
2010-10-23 01:44:37 +00:00
Aaron J. Seigo
b78c8c842a missing dptr slot declarations
svn path=/trunk/KDE/kdelibs/; revision=1188697
2010-10-23 01:37:21 +00:00
Ingomar Wesp
6203d3795b Minor clean-up.
svn path=/trunk/KDE/kdelibs/; revision=1188687
2010-10-23 00:10:45 +00:00
Ingomar Wesp
f7d405546e - Add support for constraints to sizeHint.
- Remove unused QStyleOptionGraphicsItem* parameter from elidedText and 
  layoutText.

svn path=/trunk/KDE/kdelibs/; revision=1188672
2010-10-22 22:28:03 +00:00
Marco Martin
23cca9a318 source or key parameters in retrieve
expire action

svn path=/trunk/KDE/kdelibs/; revision=1188661
2010-10-22 21:22:15 +00:00
Aaron J. Seigo
b4df2cec9b fix includes
svn path=/trunk/KDE/kdelibs/; revision=1188639
2010-10-22 19:54:40 +00:00
Aaron J. Seigo
ab99a3a048 moderately less ugly
svn path=/trunk/KDE/kdelibs/; revision=1188638
2010-10-22 19:52:05 +00:00
Aaron J. Seigo
681452d32d shouldn't have been commented out
svn path=/trunk/KDE/kdelibs/; revision=1188637
2010-10-22 19:43:58 +00: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
Marco Martin
4dd1c28b6d fix the wreckage caused by last commit
bad Aaron, no cookie :)
can you check if those changes make sense upon what your patch ws supposed to be?
CCMAIL:aseigo@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1188445
2010-10-22 12:29:35 +00:00
David Faure
f241ee6ac7 themedwidgetinterface_p.h:86:43: error: incomplete type 'QApplication' used in nested name specifier
svn path=/trunk/KDE/kdelibs/; revision=1188421
2010-10-22 10:59:45 +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
Marco Martin
22d9baccef use KIO to access the remote imports
svn path=/trunk/KDE/kdelibs/; revision=1188124
2010-10-21 13:18:50 +00:00
Marco Martin
1163aad815 use KIO::AccessManager again, be careful on those kind of regressions
svn path=/trunk/KDE/kdelibs/; revision=1188121
2010-10-21 13:12:29 +00:00
Marco Martin
87db9df855 immediately create the engine, so it can be messed with it before actually loading a file
svn path=/trunk/KDE/kdelibs/; revision=1187951
2010-10-20 20:53:55 +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
Ivan Čukić
533799963e Added bool PopupApplet::isIconified() const method
See: http://reviewboard.kde.org/r/5666/


svn path=/trunk/KDE/kdelibs/; revision=1187560
2010-10-19 20:02:51 +00:00
Giulio Camuffo
da9459d009 start always with a default size, otherwise if an applet doesn't resize itself it will freeze plasma
svn path=/trunk/KDE/kdelibs/; revision=1186915
2010-10-17 21:54:40 +00:00
Marco Martin
6907acbd11 use imports from the KDE plugin dir, since we can't relay on plasma imports being installed on the systemwide qt imports dir
svn path=/trunk/KDE/kdelibs/; revision=1186518
2010-10-16 18:55:55 +00:00
Marco Martin
6ad3371e9a scroll around while dragging items on the extender, to make possible drop the item on any point
svn path=/trunk/KDE/kdelibs/; revision=1186504
2010-10-16 17:41:59 +00:00
Marco Martin
5d452a0429 remove the spacer widget from groups on a dragLeaveEvent
svn path=/trunk/KDE/kdelibs/; revision=1186451
2010-10-16 12:49:55 +00:00
Marco Martin
805fdd1e9a reset the spacerWidget pointer, crash--
svn path=/trunk/KDE/kdelibs/; revision=1186447
2010-10-16 12:35:42 +00:00
Marco Martin
0126b7f16f reset the theme after a drop event
svn path=/trunk/KDE/kdelibs/; revision=1186446
2010-10-16 12:17:49 +00:00
Marco Martin
32e10a77d2 resize to the proper size when an item is collapsed/restored
svn path=/trunk/KDE/kdelibs/; revision=1186431
2010-10-16 11:35:16 +00:00