Commit Graph

6204 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
8a5f0f2f39 use QLatin1Literal; probably not necessary everywhere QStringBuilder is used in these files, as some are not hot paths, but the cache look ups at least are
svn path=/trunk/KDE/kdelibs/; revision=1181949
2010-10-02 20:06:47 +00:00
Aaron J. Seigo
782f9bff9e support tarballs as well, since Plasma::Package does
BUG:252612

svn path=/trunk/KDE/kdelibs/; revision=1181725
2010-10-01 21:33:16 +00:00
Aaron J. Seigo
ac640a1bae skip qchar
svn path=/trunk/KDE/kdelibs/; revision=1181713
2010-10-01 21:10:55 +00:00
Marco Martin
876b399640 remove eventual existing row wit the key before inserting a new row
svn path=/trunk/KDE/kdelibs/; revision=1181670
2010-10-01 18:02:13 +00:00
Marco Martin
b0472dc212 port the kconfig based storage service to Sqlite
make save and restore methods of datasource private for now
pu this early so performance/disk usage etc can be tested

svn path=/trunk/KDE/kdelibs/; revision=1181650
2010-10-01 16:58:15 +00:00
Manuel Mommertz
1d82f58e41 allow SVGs to use systemcolors
svn path=/trunk/KDE/kdelibs/; revision=1181642
2010-10-01 16:04:34 +00:00
Giulio Camuffo
37c3cf4d1c do not do the appear animation when dropping an extender item
svn path=/trunk/KDE/kdelibs/; revision=1181208
2010-09-30 12:47:45 +00:00
Chani Armitage
25d9f45583 exportLayout function to go with importLayout
also, deprecated the old importLayout in favour of one that only accepts
kconfiggroup.
CCBUG: 248386

svn path=/trunk/KDE/kdelibs/; revision=1180338
2010-09-27 18:16:43 +00:00
Laurent Montel
4369d1df2b Make it compile
svn path=/trunk/KDE/kdelibs/; revision=1180337
2010-09-27 18:16:27 +00:00
Aaron J. Seigo
4160e73393 IMPROVEMENT: share FrameData between FrameSvg objects wherever possible; limits pixmap usage
svn path=/trunk/KDE/kdelibs/; revision=1180317
2010-09-27 17:19:06 +00:00
Manuel Mommertz
93242199ac ButtonBackgroundColor should be the normal background of buttons not the active one
svn path=/trunk/KDE/kdelibs/; revision=1180219
2010-09-27 12:08:24 +00:00
Aaron J. Seigo
64da2b88aa friends
svn path=/trunk/KDE/kdelibs/; revision=1180044
2010-09-26 20:35:00 +00:00
Aaron J. Seigo
03f8db0342 when an extender is created on an applet without an extender and it is a popup applet without an explicitly defined graphicsWidget, make it re-check the layout so it creates a dialog or whatever when appropriate based on having a graphicsWidget now
svn path=/trunk/KDE/kdelibs/; revision=1180038
2010-09-26 20:19:11 +00:00