Commit Graph

6267 Commits

Author SHA1 Message Date
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
Manuel Mommertz
8bab6af5ff add hover and focus colors for view elements to Plasma::Theme::color()
svn path=/trunk/KDE/kdelibs/; revision=1184285
2010-10-09 18:14:11 +00:00
Marco Martin
86a15c25a0 consider the enabled borders in the cacheid.
detach from the shared pool if necessary when the enabled borders change, just as with the size.
fixes soe glitches in dialogs and the notifications animation

svn path=/trunk/KDE/kdelibs/; revision=1184283
2010-10-09 18:07:17 +00:00
Laurent Montel
dd256bfe92 not necessary to test it before delete it
svn path=/trunk/KDE/kdelibs/; revision=1183974
2010-10-08 21:57:37 +00:00
Laurent Montel
dc6633a0d5 Fix includes
svn path=/trunk/KDE/kdelibs/; revision=1183927
2010-10-08 18:21:31 +00:00
Marco Martin
53f9fb56ed export symbol of declarative widget
svn path=/trunk/KDE/kdelibs/; revision=1183894
2010-10-08 15:47:02 +00:00
Marco Martin
10404ad413 build the declarative widget
svn path=/trunk/KDE/kdelibs/; revision=1183888
2010-10-08 15:37:54 +00:00
Marco Martin
90165f119a move into libplasma
svn path=/trunk/KDE/kdelibs/; revision=1183873
2010-10-08 14:48:03 +00:00
Aaron J. Seigo
bd5dd2a688 hide(QGraphicsWidget*) results in the destruction of d->tipWidget
BUG:253387

svn path=/trunk/KDE/kdelibs/; revision=1183775
2010-10-08 11:33:48 +00:00
Aaron J. Seigo
298921962f this string already exists, svgzName.
svn path=/trunk/KDE/kdelibs/; revision=1183475
2010-10-07 13:51:31 +00:00
Ivan Čukić
14e2cdd885 Fixed fallback element breakage introduced by 1182546
svn path=/trunk/KDE/kdelibs/; revision=1183402
2010-10-07 11:09:06 +00:00
Marco Martin
d1032bc8f5 add default parameter of parent=0
this -should- be BC iirc

svn path=/trunk/KDE/kdelibs/; revision=1183393
2010-10-07 10:18:03 +00:00
Marco Martin
906691e7ce if we are resizing the mask, ensure the key gets changed from the static hash accordingly
svn path=/trunk/KDE/kdelibs/; revision=1182843
2010-10-05 19:26:00 +00:00
David Faure
eb9af2fdf3 prefix the last unittests (that use a macro, at least)
svn path=/trunk/KDE/kdelibs/; revision=1182756
2010-10-05 14:47:38 +00:00
David Faure
9fc6cbc3ec more testname prefixes
svn path=/trunk/KDE/kdelibs/; revision=1182743
2010-10-05 14:07:34 +00:00
Christoph Feck
aeec7e2ddd Fix text shadow placement
http://reviewboard.kde.org/r/5504/

svn path=/trunk/KDE/kdelibs/; revision=1182716
2010-10-05 13:13:40 +00:00
Marco Martin
3c86640b76 check for configLoader before accessing it
svn path=/trunk/KDE/kdelibs/; revision=1182706
2010-10-05 12:57:49 +00:00
Script Kiddy
efb8c987ee SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1182665
2010-10-05 10:17:36 +00:00
Aaron J. Seigo
cdfc20405a standardize the layout of the parameters in the cache; this will render old caches unhelpful since the names in them are changing, but that's a one time bit of pain
svn path=/trunk/KDE/kdelibs/; revision=1182547
2010-10-04 21:51:27 +00:00
Aaron J. Seigo
103415153b save a couple when searching deeper
svn path=/trunk/KDE/kdelibs/; revision=1182546
2010-10-04 21:50:42 +00:00
Aaron J. Seigo
4eafdd6b27 constify
svn path=/trunk/KDE/kdelibs/; revision=1182545
2010-10-04 21:48:06 +00:00
Aaron J. Seigo
47a41796cc create the needed metadata fields to publish with more info
svn path=/trunk/KDE/kdelibs/; revision=1182538
2010-10-04 21:10:48 +00:00
Script Kiddy
b4dd15d42e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1182320
2010-10-04 08:22:44 +00:00