Commit Graph

6289 Commits

Author SHA1 Message Date
Christoph Feck
9699d16a19 Do not hard code font sizes or names
Also, avoid constructing a font in the first place. This might help
for the (original) bug 198294, where Plasma::Theme::font() crashes
in widget creation.

CCBUG: 198294

svn path=/trunk/KDE/kdelibs/; revision=1143197
2010-06-26 20:55:52 +00:00
Christoph Feck
d4016c881f SVN_SILENT Remove unused Q_UNUSED macro
because the the variable is used but there is no Q_USED macro
(commit message changed for thiago because he thinks the previous
commit message was wrong ;)

svn path=/trunk/KDE/kdelibs/; revision=1143189
2010-06-26 20:33:10 +00:00
Christoph Feck
26ca332629 SVN_SILENT Q_UNUSED
svn path=/trunk/KDE/kdelibs/; revision=1143188
2010-06-26 20:29:58 +00:00
Christoph Feck
8ba19991d7 SVN_SILENT Q_USED
svn path=/trunk/KDE/kdelibs/; revision=1143186
2010-06-26 20:24:23 +00:00
Marco Martin
506a22400c connect to repaintneeded, tat will be emitted when the proper margins have been recalculated
svn path=/trunk/KDE/kdelibs/; revision=1142402
2010-06-24 20:52:14 +00:00
Marco Martin
2d4ed4db67 refresh contents margins on repaintNeeded, that happens when the margins are already updated
svn path=/trunk/KDE/kdelibs/; revision=1142397
2010-06-24 20:41:29 +00:00
Aaron J. Seigo
1791b2b693 avoid warnings
svn path=/trunk/KDE/kdelibs/; revision=1142366
2010-06-24 18:32:49 +00:00
Marco Martin
f8cdf8c2e3 setUseGlobalSettings(false); should work also with applications that start with plasma-
svn path=/trunk/KDE/kdelibs/; revision=1141943
2010-06-23 21:16:20 +00:00
Aaron J. Seigo
0543ed0f15 a work around for the fact that groups and items are in the same collection, which can cause issues on destruction
BUG:242112

svn path=/trunk/KDE/kdelibs/; revision=1141872
2010-06-23 17:58:33 +00:00
Aaron J. Seigo
bf60c264ac restore; usually not needed as this path is usually for new applets (and so the values won't do anything) but can also be used for applets created elsewhere; will be useful for the kpart work
svn path=/trunk/KDE/kdelibs/; revision=1141866
2010-06-23 17:50:16 +00:00
Sebastian Kügler
8eb2ed8050 better APIDOX
svn path=/trunk/KDE/kdelibs/; revision=1141801
2010-06-23 14:19:18 +00:00
Marco Martin
70941efc56 still try to read from the theme if the defaultWallpaperTheme is the default, plasma themes with wallpapers work again
svn path=/trunk/KDE/kdelibs/; revision=1141773
2010-06-23 13:03:13 +00:00
Alexis Ménard
052b87d74e Better fix and also make the normal build works.
svn path=/trunk/KDE/kdelibs/; revision=1141400
2010-06-22 18:16:13 +00:00
Alexis Ménard
628c9fbf2f Compile fix with Mobile profile enabled.
svn path=/trunk/KDE/kdelibs/; revision=1141384
2010-06-22 17:29:18 +00:00
Sebastian Kügler
d853ba5577 APIDOX clarity
svn path=/trunk/KDE/kdelibs/; revision=1141283
2010-06-22 12:27:22 +00:00
Aaron J. Seigo
de28184c32 use QSvgRenderer, now that KSvgRenderer is a shallow wrapper around it since QSvgRenderer gained it's (previously) add-on functionality to QSvgRenderer
svn path=/trunk/KDE/kdelibs/; revision=1140887
2010-06-21 18:28:47 +00:00
Marco Martin
bc38bec0c7 ensure the main widget is visible after its resize
CCBUG:226429

svn path=/trunk/KDE/kdelibs/; revision=1140801
2010-06-21 14:56:37 +00:00
Alexis Ménard
c6a70060ed Usual ARM compilation fixes.
svn path=/trunk/KDE/kdelibs/; revision=1140767
2010-06-21 13:17:45 +00:00
Marco Martin
79e61661e7 stop animations when the inner widget spontaneously resize
it should fix 226429 and a very similar issue in the netbook, please test :)
CCBUG:226429

svn path=/trunk/KDE/kdelibs/; revision=1140731
2010-06-21 12:20:48 +00:00
Marco Martin
4d593f353c delay popup showin in the event queue after activation
fixes focus issues on popups
BUG:242173

svn path=/trunk/KDE/kdelibs/; revision=1140471
2010-06-20 19:45:29 +00:00
Marco Martin
9a98a3351b permit moving plasmoids before startupcompletedcontraint arrives
so doesn't interfere with restoring and activity cloning
BUG:241496

svn path=/trunk/KDE/kdelibs/; revision=1139463
2010-06-18 10:09:59 +00:00
Marco Martin
fa26a2ddc6 allow to move applets in qgraphicslayouts, even when they're locked
svn path=/trunk/KDE/kdelibs/; revision=1139186
2010-06-17 15:32:05 +00:00
Giulio Camuffo
3c2d443b51 ++apidox
svn path=/trunk/KDE/kdelibs/; revision=1138813
2010-06-16 20:58:18 +00:00
Marco Martin
1f1d59fa4d ensure to never filter pout events from our scrollbaars
svn path=/trunk/KDE/kdelibs/; revision=1138783
2010-06-16 18:47:00 +00:00
Marco Martin
b8342b9412 fix the animation
svn path=/trunk/KDE/kdelibs/; revision=1138778
2010-06-16 18:00:38 +00:00
Marco Martin
c2d8eee98a save the last size for formfactor, helps when the applet changes containment and back again
BUG:241857

svn path=/trunk/KDE/kdelibs/; revision=1138648
2010-06-16 12:26:23 +00:00
Aaron J. Seigo
404981d52b the app is no longer "plasma" and we have several of them, so fix this matching
svn path=/trunk/KDE/kdelibs/; revision=1138352
2010-06-15 20:08:46 +00:00
Aaron J. Seigo
5df21d2137 provide a short-circuit path for checking the js anims so we don't check over and over again
svn path=/trunk/KDE/kdelibs/; revision=1138329
2010-06-15 18:02:44 +00:00
Script Kiddy
3e4c38bbf4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1138157
2010-06-15 08:45:03 +00:00
Marco Martin
6f8d808068 event->button() is usually empty, do drags only with the left buttons (and find the down position with that too) instead
BUG:198814

svn path=/trunk/KDE/kdelibs/; revision=1137301
2010-06-12 09:51:42 +00:00
Marco Martin
c77396e412 update the return to source button visibility based on the hostapplet immutability rather than sourceapplet, works also if not all containments have the same immutability (netbook)
BUG:235949

svn path=/trunk/KDE/kdelibs/; revision=1137192
2010-06-11 22:02:54 +00:00
Marco Martin
b959b74d36 this animtion is a slide, is not an absolute position target
svn path=/trunk/KDE/kdelibs/; revision=1137131
2010-06-11 18:38:58 +00:00
Aaron J. Seigo
e07a9c88bb if we don't have a PlasmaView, then ask QDesktopWidget which screen it thinks we are tipping on
BUG:241278

svn path=/trunk/KDE/kdelibs/; revision=1137109
2010-06-11 17:20:29 +00:00
Aaron J. Seigo
6300946727 cleanup
svn path=/trunk/KDE/kdelibs/; revision=1137108
2010-06-11 17:18:34 +00:00
Aaron J. Seigo
0b877bdbb8 unused
svn path=/trunk/KDE/kdelibs/; revision=1137107
2010-06-11 17:18:06 +00:00
Marco Martin
6e51a2bc2e fix text cutting here too
BUG:241330

svn path=/trunk/KDE/kdelibs/; revision=1136835
2010-06-10 21:42:26 +00:00
Aaron J. Seigo
94bcb2a621 access the member directly
svn path=/trunk/KDE/kdelibs/; revision=1136832
2010-06-10 21:32:10 +00:00
Sebastian Kügler
daf79ebe98 fix signal / slot
svn path=/trunk/KDE/kdelibs/; revision=1136817
2010-06-10 20:38:36 +00:00
Aaron J. Seigo
1cca6c7d02 foreach takes a copy, use a mutable iterator. prevents crashes. also make a few more sanity checks in places to be ++sure about the health when executing those methods.
BUG:235851
BUG:240996

svn path=/trunk/KDE/kdelibs/; revision=1136808
2010-06-10 20:10:49 +00:00
André Wöbbeking
6ef91dbdce -pedantic
svn path=/trunk/KDE/kdelibs/; revision=1136805
2010-06-10 19:57:01 +00:00
Andreas Hartmetz
c7b2aa9134 Compile, and use the usual spacing between operators
svn path=/trunk/KDE/kdelibs/; revision=1136794
2010-06-10 19:05:16 +00:00
Nicolas Lécureuil
c40ea8e691 Fix pushbutton text
BUG: 192988

svn path=/trunk/KDE/kdelibs/; revision=1136786
2010-06-10 18:05:00 +00:00
Aaron J. Seigo
35e856e4de set the cursor explicitly on the buttons so that we don't get a hand over the buttons, only over teh draggable bits
svn path=/trunk/KDE/kdelibs/; revision=1136780
2010-06-10 17:46:08 +00:00
Aaron J. Seigo
4c3f1104b3 when initializing the applets, restore from config, then init, then flush the containment's constraints, then flush the applet's constraints. ensures that constraint events always happen after both restoration and initialization of the applet
BUG:241298

svn path=/trunk/KDE/kdelibs/; revision=1136767
2010-06-10 17:07:50 +00:00
Aaron J. Seigo
fd535c68e1 pass on the screen constraint to applets when changing the screen of a containment. thanks to Sebas for figuring out what was triggering it (lack of constraints events being passed on)
BUGS:201247,233054

svn path=/trunk/KDE/kdelibs/; revision=1136747
2010-06-10 16:30:54 +00:00
Aaron J. Seigo
c0c3ccabe3 set the last screen/desktop even in the panel case
svn path=/trunk/KDE/kdelibs/; revision=1136743
2010-06-10 16:22:36 +00:00
Aaron J. Seigo
f7c28b7ebb differentiate loadLayout from importLayout by making loadLayout set what the configuration file to use is while import simply brings the data from the config file in without changing the target config file to save to for the corona. open vs import, iow.
svn path=/trunk/KDE/kdelibs/; revision=1136734
2010-06-10 15:59:53 +00:00
Aaron J. Seigo
81ac415af6 don't pay the penalty of checking through the collection when we removed it ourselves; use the iterator we already have when erasing on container deletion instead of making the hash do another lookup based on key
svn path=/trunk/KDE/kdelibs/; revision=1136422
2010-06-09 19:09:13 +00:00
Laurent Montel
ec543102a2 Fix iterator
svn path=/trunk/KDE/kdelibs/; revision=1136417
2010-06-09 18:41:23 +00:00
Marco Martin
3e3fd09aab clean up from the sources if somebody deletes a DataContainer
BUG:235881

svn path=/trunk/KDE/kdelibs/; revision=1136398
2010-06-09 18:04:28 +00:00