Commit Graph

6498 Commits

Author SHA1 Message Date
ruberg
b23b9664be BUG: 236853
BUG: 233235

Properly restore the size of PopupApplets from last session even when a preferredSize is set in the graphicsWidget()
2011-02-24 18:26:40 +01:00
Marco Martin
0abb1cfd6e export drawWallpaper and ContainmentType
export in AppletScript drawWallpaper and ContainmentType:
it's the only way to make them settable by scripted JS/QML containments
2011-02-22 13:22:53 +01:00
Marco Martin
56a7b2e5df scripted containment loading fix
load as containment also applets that have both Plasma/Applet and Plasma/Containment
2011-02-20 16:52:44 +01:00
Aaron Seigo
9b096741f8 apidox fix 2011-02-17 09:18:33 -08:00
Marco Martin
17c0805063 ask for on screen keyboard hiding on focus lost 2011-02-17 15:23:06 +01:00
Aaron Seigo
3924d218a4 cache the values for size and resize method
the main advantage to this is that only when the object signals a change
will the values be re-checked, which means that the wallpaper pointer
can be deleted behind our backs and we won't care
2011-02-16 11:42:38 -08:00
Aaron Seigo
56c25bd8f2 minor ws anomoly 2011-02-15 09:38:58 -08:00
Script Kiddy
fb98c62ee8 SVN_SILENT made messages (.desktop file) 2011-02-14 16:33:43 +01:00
Lasse Liehu
d0e8d977b4 ignore() key press event for keys not handled
(cherry picked from commit 6e208cf0cc60d3e7016a3bbdbb6dfd3c1b105186)
2011-02-10 21:05:34 +02:00
Marco Martin
beb1f9b6cf use pointers instead of string comparison
use pointers instead of string comparison to figure out what button was pressed
2011-02-09 20:35:15 +01:00
Marco Martin
ab8ec8f17a correct the text used to fugure out the button
button have text like &Ok &Yes
This way to detect what button was pressed of course is horrible and will have to be changed
CCBUG:265738
2011-02-09 19:20:16 +01:00
Marco Martin
9eca40ca38 contentsRect must be bigger
we draw the text at 1,1
2011-02-09 18:16:48 +01:00
Marco Martin
11d3b789a4 emit cancel signal
both when clicking cancel and pressing esc
CCBUG:265738
2011-02-09 00:11:25 +01:00
Marco Martin
e193b7eab0 pass clicks trough the busy spinner 2011-02-07 10:49:44 +01:00
Marco Martin
8799bc02f2 the result image is bigger due to the blur 2011-02-05 16:23:55 +01:00
Aaron Seigo
2b2f482ecd save/track/restore ItemStatus properly 2011-02-04 17:52:03 -08:00
Aaron Seigo
b4b0fc207a toggle on activation 2011-02-04 16:18:28 -08:00
Marco Martin
bb551f7c00 use a svg for the shadow too 2011-02-04 22:28:29 +01:00
Marco Martin
e0771de7ce fix painting 2011-02-04 21:02:20 +01:00
Marco Martin
b9a34e131d new function texturedText()
FEATURE: draw text textured with an svg
2011-02-04 21:02:20 +01:00
Script Kiddy
2a65dfbf5e SVN_SILENT made messages (.desktop file) 2011-02-04 06:47:25 +01:00
Aaron Seigo
2f5b68b9d0 remove a line of dead code 2011-02-03 20:38:27 -08:00
Aaron Seigo
1d473439a5 leave geom updates to applets w/out icons
when an applet sets an empty icon, it's handling the main interface.
PopupApplet emiting geom signals just runs the risk of poorly timed
updates. this causes panel jitter with the system tray when it resizes
2011-02-03 20:38:27 -08:00
Script Kiddy
94792358f9 SVN_SILENT made messages (.desktop file) 2011-02-02 08:27:17 +01:00
Marco Martin
27570007f3 don't collapse when it's destroying
try to not crash upon deletion of the extender
2011-02-01 21:20:48 +01:00
Marco Martin
aeb6408fad Merge branch 'master' of git://anongit.kde.org/kdelibs 2011-02-01 19:27:06 +01:00
Marco Martin
6519d42bd8 fix background when dragging
use the dialog background frame instead of the transparent extender background
2011-02-01 19:25:43 +01:00
Aaron Seigo
318119ef46 remove some well dead code 2011-02-01 10:07:05 -08:00
Aaron Seigo
81c7addc40 a small hack to give us the enabled button 2011-02-01 00:52:07 -08:00
Aaron Seigo
d83bb2a72c protect usage of svg element cache config
this needs to be thoroughly checked over and tested before backporting;
seems this fixes some occassional crashes users are running into.
CCMAIL:notmart@gmail.com
2011-01-30 13:47:29 -08:00
Aaron Seigo
74b55d7ca5 set status correctly 2011-01-30 13:34:52 -08:00
Patrick Spendrin
77da0f9c15 only deprecate function, do not export twice 2011-01-30 21:04:43 +01:00
Aaron J. Seigo
56fc44f841 various cleanups
svn path=/trunk/KDE/kdelibs/; revision=1217825
2011-01-28 22:30:54 +00:00
Aaron J. Seigo
2a916cb089 avoid (non-critical) warnings
BUG:264069

svn path=/trunk/KDE/kdelibs/; revision=1217570
2011-01-27 22:18:32 +00:00
Aaron J. Seigo
8c65e607b8 slight simplification :)
svn path=/trunk/KDE/kdelibs/; revision=1217341
2011-01-26 20:10:14 +00:00
Aaron J. Seigo
1cbd777478 if the current wallpaper plugin supports the mimetype being dropped, offer that; otherwise look for something new
svn path=/trunk/KDE/kdelibs/; revision=1217339
2011-01-26 20:09:18 +00:00
Aaron J. Seigo
f721ef40fc see if a wallpaper plugin can handle (import, display, etc) a given mimetype; this may be different from the drop types supported!
svn path=/trunk/KDE/kdelibs/; revision=1217338
2011-01-26 20:08:35 +00:00
Script Kiddy
fd20134a3e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1217161
2011-01-26 06:34:42 +00:00
Aaron J. Seigo
f338cf6a16 use setUrls rather than emit the signal
svn path=/trunk/KDE/kdelibs/; revision=1217119
2011-01-25 20:52:33 +00:00
Aaron J. Seigo
abae2d7686 provide compat with wallpapers that implement a slot connection to urlDropped
svn path=/trunk/KDE/kdelibs/; revision=1217118
2011-01-25 20:51:53 +00:00
Aaron J. Seigo
71f6f1dd18 addWallpaper -> setWallpaper, since the latter is what will be kept in the public api in libplasma2
svn path=/trunk/KDE/kdelibs/; revision=1217116
2011-01-25 20:51:16 +00:00
Aaron J. Seigo
c3c211f374 addurl into the scripting
svn path=/trunk/KDE/kdelibs/; revision=1217115
2011-01-25 20:41:50 +00:00
Marco Martin
c158ebbaa4 realign the widget if it's resized
svn path=/trunk/KDE/kdelibs/; revision=1216378
2011-01-22 22:13:42 +00:00
Marco Martin
dcd645696b immediately hide the focusindicator if the theme follows native style
svn path=/trunk/KDE/kdelibs/; revision=1216376
2011-01-22 22:02:23 +00:00
Marco Martin
312bdcf909 if the theme wants to paint with the system style just let the proxy paint
svn path=/trunk/KDE/kdelibs/; revision=1216324
2011-01-22 17:55:14 +00:00
Marco Martin
0ac2c5b81f if the theme wants to use the system style, disable completely any focusindicator
svn path=/trunk/KDE/kdelibs/; revision=1216322
2011-01-22 17:49:46 +00:00
Marco Martin
ade5dd1ae7 revert behavioural change in framesvg, repaint glithches--
svn path=/trunk/KDE/kdelibs/; revision=1216286
2011-01-22 13:05:34 +00:00
Marco Martin
ef683f5eac if the second QRect paramenter of paintFrame is empty, take the whole pixmap rect: this is what was supposed to happen in the first place
svn path=/trunk/KDE/kdelibs/; revision=1216114
2011-01-21 13:18:00 +00:00
Sinny Kumari
30b570357f Make wallpaper capable of setting particular Image
http://svn.reviewboard.kde.org/r/6375/

svn path=/trunk/KDE/kdelibs/; revision=1216005
2011-01-20 19:50:11 +00:00
Marco Martin
becf979cf4 don't actually delete the frame: we want to discard the pixmap, but not the frame size or the enabledborders
svn path=/trunk/KDE/kdelibs/; revision=1215933
2011-01-20 11:23:56 +00:00