Commit Graph

634 Commits

Author SHA1 Message Date
Aaron J. Seigo
30ec5b73bb if the Applet requests config() before being added to a containment, but is nested in another Applet, it should still use the nest-Applet's config. i doubt it is a fix for 218064, but this is at least accurate and may address comment #15.
CCBUG:218064

svn path=/trunk/KDE/kdelibs/; revision=1071437
2010-01-08 02:02:43 +00:00
Aaron J. Seigo
321c298a96 standarize the authorization restrictions with other ones found in KDE; one of these is new in 4.4 and neither of the other two were ever documented anywhere
svn path=/trunk/KDE/kdelibs/; revision=1070582
2010-01-06 04:16:28 +00:00
Aaron J. Seigo
7a46df7066 adapt to Animation API cleanup
svn path=/trunk/KDE/kdelibs/; revision=1069731
2010-01-04 09:19:08 +00:00
Aaron J. Seigo
1181a53e3c tag the actions; now the desktop toolbox is sanely ordered
svn path=/trunk/KDE/kdelibs/; revision=1069705
2010-01-04 06:37:41 +00:00
Davide Bettio
5449cdbd82 Small string change: replaced Ok with OK.
It shouldn't hurt anyone.

svn path=/trunk/KDE/kdelibs/; revision=1068691
2010-01-01 20:44:56 +00:00
Davide Bettio
e6097845d9 Added icons to buttons.
svn path=/trunk/KDE/kdelibs/; revision=1068690
2010-01-01 20:43:49 +00:00
Marco Martin
a0162ccdef even tough extender is private in Applet, applet has too many friends, so to be sure it's properly guarded, use a weak pointer
BUG:220482

svn path=/trunk/KDE/kdelibs/; revision=1067549
2009-12-29 19:38:37 +00:00
Marco Martin
a75a8e101a this could be dangerous so we must pay attention in the next days for eventual regressions, but had to be done.
eliminate all the hardcoded minimum sizes and relay on size hints instead since now they work(ish)

svn path=/trunk/KDE/kdelibs/; revision=1066284
2009-12-26 16:48:45 +00:00
Adenilson Cavalcanti Da Silva
48af57c6ce Migrating Plasma Applet disappear animation to ZoomAnimation (it works
smoother and the code is simpler).


svn path=/trunk/KDE/kdelibs/; revision=1061465
2009-12-11 19:53:55 +00:00
Marco Martin
08ae083579 now the toolbox can be accessed by subclasses, so funny things can happen, bury it under a QWeakPointer so
svn path=/trunk/KDE/kdelibs/; revision=1054267
2009-11-25 19:46:33 +00:00
Aaron J. Seigo
65eda15e5d private headers
svn path=/trunk/KDE/kdelibs/; revision=1053920
2009-11-25 01:09:17 +00:00
Giulio Camuffo
79dfc044dd if it is an iconified PopupApplet in setAspectRatioMode store the new mode in the variable d->savedAspectRatio
svn path=/trunk/KDE/kdelibs/; revision=1051080
2009-11-18 20:18:32 +00:00
Giulio Camuffo
a35e7394c3 adds aspect ratio modes to Dialog; PopupApplet sets the right one for its dialog
svn path=/trunk/KDE/kdelibs/; revision=1051074
2009-11-18 20:11:03 +00:00
Aaron J. Seigo
fde2d95376 only show the busy widget if we've been busy for at least .5s (perhaps a full second would be ok?)
svn path=/trunk/KDE/kdelibs/; revision=1050748
2009-11-18 02:21:43 +00:00
Aaron J. Seigo
c64472a206 slightly more sensible/readable
svn path=/trunk/KDE/kdelibs/; revision=1047669
2009-11-11 19:26:05 +00:00
Aaron J. Seigo
e6dd3387bb filter offers on load as well; this is where it actually matters, in fact
svn path=/trunk/KDE/kdelibs/; revision=1047343
2009-11-11 01:56:59 +00:00
Aaron J. Seigo
687e1f57a1 set a parent on the item so we can count on it getting deleted when we remove it
svn path=/trunk/KDE/kdelibs/; revision=1047342
2009-11-11 01:55:11 +00:00
Aaron J. Seigo
e77dfbe529 destroy the message, if any, when we fail
svn path=/trunk/KDE/kdelibs/; revision=1047341
2009-11-11 01:54:32 +00:00
Aaron J. Seigo
c5d9d11481 don't re-fail if we've already failed; this allows scripts to set error messages nicely when init() gos *bang*
svn path=/trunk/KDE/kdelibs/; revision=1047340
2009-11-11 01:54:00 +00:00
Aaron J. Seigo
4aba68d9d7 filter all offers lists consistently with the constraints
svn path=/trunk/KDE/kdelibs/; revision=1047324
2009-11-11 00:24:49 +00:00
Petri Damstén
2b4edfd6cd Add missing functions to AppletScript.
Review: http://reviewboard.kde.org/r/2074/

svn path=/trunk/KDE/kdelibs/; revision=1045306
2009-11-05 18:43:39 +00:00
Aaron J. Seigo
7751044026 move connecting the update() signal to right after we actually initialize the wallpaper; prevents the possibility of double paints we may not want
svn path=/trunk/KDE/kdelibs/; revision=1044507
2009-11-03 22:27:05 +00:00
Sebastian Kügler
fbcf0e484e Add capability for Applets to specify X-Plasma-DropUrlPatterns, a QStringList of globs to match a URL dropped onto Plasma. This is orthogonal to the mimetype checking.
http://reviewboard.kde.org/r/2005/#review2848

svn path=/trunk/KDE/kdelibs/; revision=1042124
2009-10-29 09:09:01 +00:00
Aaron J. Seigo
fc17e37914 be careful not to delete the applet handle, now that it is a child of the applet
svn path=/trunk/KDE/kdelibs/; revision=1041871
2009-10-28 18:06:56 +00:00
Petri Damstén
042ed56b39 * Add support to load PopupApplet and Containment from path
* AppletScript::addStandardConfigurationPages adds also publish page
* AppletScript::standardConfigurationDialog does not add standard pages (there is addStandardConfigurationPages)

svn path=/trunk/KDE/kdelibs/; revision=1039471
2009-10-23 13:48:29 +00:00
Aaron J. Seigo
30dc3caf9b * move remotedataengine.h to remotedataengine_p.h as it's private
* allow queueing for un-ready remote services
* always double check that the RemoteServiceJob is really Ok to send; things like operation being ready may have changed, for instance

svn path=/trunk/KDE/kdelibs/; revision=1038181
2009-10-20 19:15:32 +00:00
Marco Martin
6b0a4590d2 Export a really simple AbstractToolBox
add a setToolBox function

svn path=/trunk/KDE/kdelibs/; revision=1038024
2009-10-20 14:14:53 +00:00
Artur Duque de Souza
e9f98cd0d8 Use "Share" instead of "Publish" in remote widgets UI.
It's more user friendly and avoids misconceptions like "Publish"
being a way to publish to kde-apps for example.

svn path=/trunk/KDE/kdelibs/; revision=1037544
2009-10-19 13:29:29 +00:00
Marco Martin
731474d470 check for pointer also there, crash--
svn path=/trunk/KDE/kdelibs/; revision=1035730
2009-10-15 18:37:59 +00:00
Marco Martin
7fb7eefa8b use weakpointer, hopefully a crash less
svn path=/trunk/KDE/kdelibs/; revision=1035683
2009-10-15 16:42:41 +00:00
Aaron J. Seigo
ee461e739e activity naming consistency, take 2
svn path=/trunk/KDE/kdelibs/; revision=1034920
2009-10-13 23:07:35 +00:00
Aaron J. Seigo
c27ddab67e QPointer -> QWeakPointer
svn path=/trunk/KDE/kdelibs/; revision=1034904
2009-10-13 21:43:35 +00:00
Laurent Montel
677f98b7cd Add missing i18n
svn path=/trunk/KDE/kdelibs/; revision=1032993
2009-10-09 07:08:48 +00:00
Aaron J. Seigo
3037b9823d more consistent naming for containments
svn path=/trunk/KDE/kdelibs/; revision=1032391
2009-10-07 18:31:14 +00:00
Aaron J. Seigo
f00b9a7466 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1031673
2009-10-05 18:21:24 +00:00
Laurent Montel
ae3d75f0c9 Fix typo
svn path=/trunk/KDE/kdelibs/; revision=1029977
2009-10-01 09:57:01 +00:00
Michał Dutkiewicz
4d051d8f86 Added possibility to set pop up (menu, dialog or other widgets) alignment to left, center or right
Translate left and right alignment for vertical form factors
Swap right and left alignment in case of RTL layout
Use center alignment for tool tips

svn path=/trunk/KDE/kdelibs/; revision=1028983
2009-09-28 17:28:17 +00:00
Chani Armitage
8581d2b45c remove the hack.
I'm not seeing the addItem crash any more; if anyone else gets it, tell
me.

svn path=/trunk/KDE/kdelibs/; revision=1027322
2009-09-23 20:37:29 +00:00
Chani Armitage
c786e17ba1 since this hack wasn't helping, try without it
svn path=/trunk/KDE/kdelibs/; revision=1027321
2009-09-23 20:37:25 +00:00
Chani Armitage
ba3b1b753b merge-squash of first containment-removal branch
svn path=/trunk/KDE/kdelibs/; revision=1027320
2009-09-23 20:37:17 +00:00
Aaron J. Seigo
bd7cbf7773 use the popup only when the applet isn't our parent
svn path=/trunk/KDE/kdelibs/; revision=1026224
2009-09-21 06:58:24 +00:00
Marco Martin
08d49e6fd0 introducing the concept of associated application:
an an application and/or an url list can be associated with an aplet
and a context menu entry and an applet handle button will be added to
launch that application.
the applet will be considered a preview of something, where the
application its full view, for example the picture frame can open
gwenview

svn path=/trunk/KDE/kdelibs/; revision=1024487
2009-09-16 17:08:45 +00:00
Andreas Kling
6e412aedd9 Fixed crash upon exiting a config dialog when compiled without ENABLE_REMOTE_WIDGETS
svn path=/trunk/KDE/kdelibs/; revision=1022715
2009-09-12 11:07:11 +00:00
Aaron J. Seigo
0dca592af9 * use the size hint of the message and the size of the applet to decide whether or not to embed the message or pop it out
* parent the widgets properly (fewer warnings at runtime, yay!)
* --unhelpfulKDebug();

svn path=/trunk/KDE/kdelibs/; revision=1022545
2009-09-12 00:37:32 +00:00
Aaron J. Seigo
229deb1d29 if the applet is a popup applet and is in the panel and has a dialog then show messages in a popup as well
svn path=/trunk/KDE/kdelibs/; revision=1022543
2009-09-12 00:19:42 +00:00
Marco Martin
f3ef2e4a0f SVN_SILENT: new line
svn path=/trunk/KDE/kdelibs/; revision=1021966
2009-09-10 11:46:21 +00:00
Marco Martin
842e0349a6 map the mose movement to the rotation part of the applet transform
svn path=/trunk/KDE/kdelibs/; revision=1021964
2009-09-10 11:45:19 +00:00
Rob Scheepmaker
c96119f4ed Rename the config.h.in to config-plasma.h.in for some added clarity.
svn path=/trunk/KDE/kdelibs/; revision=1021587
2009-09-09 15:37:03 +00:00
Rob Scheepmaker
34b9e01ac4 Make QCA2 an optional dependency for libplasma, so QCA2 can remain optional for all of kdelibs. Just disable remote widgets functionality if QCA2 is missing.
svn path=/trunk/KDE/kdelibs/; revision=1021543
2009-09-09 13:40:16 +00:00
Marco Martin
4fdea87216 put the overlay in popup for the setConfigurationrequired applets
busy spinner remains into the panel

svn path=/trunk/KDE/kdelibs/; revision=1020865
2009-09-07 11:59:09 +00:00