Commit Graph

6289 Commits

Author SHA1 Message Date
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
Marco Martin
616a10059d resize to the proper sizes when expanding/collapsing the groups
svn path=/trunk/KDE/kdelibs/; revision=1186426
2010-10-16 11:08:25 +00:00
Marco Martin
f49d3bc29b don't crash on parse error
svn path=/trunk/KDE/kdelibs/; revision=1186287
2010-10-15 16:24:12 +00:00
Script Kiddy
0d2f369206 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1186162
2010-10-15 09:12:05 +00:00
Aaron J. Seigo
8dcc569fba implement a default configChanged() for Containment that reloads the wallpaper
svn path=/trunk/KDE/kdelibs/; revision=1185912
2010-10-14 15:46:05 +00:00
Kevin Ottens
83fba085c0 Should be enough to repair the package install/uninstall in the mobile
case.

svn path=/trunk/KDE/kdelibs/; revision=1185886
2010-10-14 13:23:56 +00:00
Aaron J. Seigo
fc07638805 correct signature
svn path=/trunk/KDE/kdelibs/; revision=1185879
2010-10-14 13:04:53 +00:00
Aaron J. Seigo
d999c34c31 fd is 0 by this point
svn path=/trunk/KDE/kdelibs/; revision=1185878
2010-10-14 13:04:28 +00:00
Aaron J. Seigo
900023b40e build; constify a bit
svn path=/trunk/KDE/kdelibs/; revision=1185872
2010-10-14 12:56:18 +00:00
Aaron J. Seigo
ee8dd50515 pass
svn path=/trunk/KDE/kdelibs/; revision=1185869
2010-10-14 12:38:48 +00:00
Aaron J. Seigo
a7701c9612 pass
svn path=/trunk/KDE/kdelibs/; revision=1185868
2010-10-14 12:37:53 +00:00
Kevin Ottens
c0f66faad7 Allow to build libplasma without KIO. Only issue is that the
copying/moving/removal of folders is defunct (so is the package
install/uninstall).

svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Aaron J. Seigo
1c77587903 use the Plasma namespace consistently in the signals
svn path=/trunk/KDE/kdelibs/; revision=1185863
2010-10-14 12:25:20 +00:00
Stephen Kelly
f57dd2eb1c Fix build.
svn path=/trunk/KDE/kdelibs/; revision=1185860
2010-10-14 12:16:56 +00:00
Aaron J. Seigo
6be91bbbd4 the slashes are superfluous
svn path=/trunk/KDE/kdelibs/; revision=1185857
2010-10-14 12:10:02 +00:00
Aaron J. Seigo
4495dc2eff handle the caching case in setImagePath properly; this is a significant increase in complexity in this rather fundamental method. in combination with the change in Svg::setImagePath to call FrameSvg::setImagePath directly (due to an API wart i only today noticed), this has the potential to cause new issues, though it is running quite nicely on my system. needs extensive testing, but should also hopefully take care of the remaining crash being seen related to the FrameData cache
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1185856
2010-10-14 12:09:23 +00:00
Aaron J. Seigo
5b49d8fe16 SVN_SILENT: update copyrights
svn path=/trunk/KDE/kdelibs/; revision=1185854
2010-10-14 12:05:55 +00:00
Aaron J. Seigo
2f491094c0 * move SvgPrivate into a separate header
* introduce a hack around setImagePath not being virtual but reimplemented in FrameSvg. (oi vey!)

svn path=/trunk/KDE/kdelibs/; revision=1185843
2010-10-14 11:43:01 +00:00
Albert Astals Cid
207a88b292 make the function file static
svn path=/trunk/KDE/kdelibs/; revision=1185606
2010-10-13 21:21:30 +00:00
Albert Astals Cid
6989afc229 initializing QString to 0 is baaaaad
svn path=/trunk/KDE/kdelibs/; revision=1185604
2010-10-13 21:15:27 +00:00
Aaron J. Seigo
f23c57a178 +1 tests pass
svn path=/trunk/KDE/kdelibs/; revision=1185538
2010-10-13 17:15:09 +00:00
Aaron J. Seigo
5f3b18fbc5 fix one test; 2 more to go
svn path=/trunk/KDE/kdelibs/; revision=1185528
2010-10-13 16:02:19 +00:00
Aaron J. Seigo
e38c0abb97 it's a set of flags, so we do need the full value as a string. meh.
svn path=/trunk/KDE/kdelibs/; revision=1185506
2010-10-13 14:40:41 +00:00
Aaron J. Seigo
a92f14160d faster
svn path=/trunk/KDE/kdelibs/; revision=1185501
2010-10-13 14:27:08 +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
Marco Martin
bdcf7578ee use a weak pointer
svn path=/trunk/KDE/kdelibs/; revision=1185272
2010-10-12 19:33:15 +00:00
Marco Martin
0aa740d33b since the item takes ownership of its widget, get rid of it when it changes
svn path=/trunk/KDE/kdelibs/; revision=1185267
2010-10-12 19:06:34 +00:00
Marco Martin
b3b18e5d7e make sure to not call the delayed itemaddedevent twice: the queue becomes an hash.
the counterindication is that the order now is kinda indeterministinc but *shouldn't* give problems

svn path=/trunk/KDE/kdelibs/; revision=1185200
2010-10-12 14:36:46 +00:00
Marco Martin
c79712f294 the update of the dragger appearance belongs in themeChanged()
svn path=/trunk/KDE/kdelibs/; revision=1185176
2010-10-12 13:20:04 +00:00
Marco Martin
22db020315 start with groups not collapsed by default
svn path=/trunk/KDE/kdelibs/; revision=1185145
2010-10-12 11:02:09 +00:00
Marco Martin
132719558d adjust the alignment even where there is only th icon on the left but no buttons on the right
svn path=/trunk/KDE/kdelibs/; revision=1185142
2010-10-12 10:44:59 +00:00
Script Kiddy
dd0045eadc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1185129
2010-10-12 10:15:24 +00:00
Marco Martin
b2afff32f3 * hide the icon when a null one is set
* center the title text

svn path=/trunk/KDE/kdelibs/; revision=1185117
2010-10-12 10:02:19 +00:00
Marco Martin
2f468e0167 don't try to resize if there is no image
svn path=/trunk/KDE/kdelibs/; revision=1184930
2010-10-11 21:08:38 +00:00
Marco Martin
65acd2bfda disable overflow borders
svn path=/trunk/KDE/kdelibs/; revision=1184912
2010-10-11 20:00:04 +00:00
Marco Martin
395cd8e146 FEATURE: new property: overflowBordersVisible
it can enable/disable the painting of the borders when the inner widget is bigger then the viewport

svn path=/trunk/KDE/kdelibs/; revision=1184911
2010-10-11 19:59:47 +00:00
Marco Martin
7306716038 IMPROVEMENT: the whole extender scrolls when there is not enough room anymore.
the extendergroup doen't have a scrollwidget anymore

still needs perfecting but is already less buggy and prettier

svn path=/trunk/KDE/kdelibs/; revision=1184907
2010-10-11 19:17:19 +00:00
Marco Martin
b6624d3fe1 remove all margins, if somebody wants any, just add them into the mainWidget contentsMargins
svn path=/trunk/KDE/kdelibs/; revision=1184900
2010-10-11 19:01:42 +00:00
Marco Martin
b5688057bc fix root items appearance
svn path=/trunk/KDE/kdelibs/; revision=1184861
2010-10-11 16:04:06 +00:00
Marco Martin
f947ed9495 FEATURE: new feature in the theme: use a "grouped" prefix for items in a group and "root" prefix for non grouped ones.
still fallsback to the old one if either those prefixes don't exist or the root one doesn't have a "stacked" appearance

svn path=/trunk/KDE/kdelibs/; revision=1184857
2010-10-11 15:46:23 +00:00