Marco Martin
cc21f6fcfe
applet doesn't inherit from QGraphicsWidget
2012-11-08 18:23:00 +01:00
Aaron Seigo
97a13a9dbe
make DataEngineConsumer public API
...
this will become the prefered way to access DataEngines rather than
DataEngineManager which exposes implementation details that need to
be manually managed
2012-09-24 15:52:16 +02:00
Marco Martin
c8a1b35f78
cleanupanddelete is qgv specific too
2012-02-28 16:52:11 +01:00
David Faure
c7ab521ee7
Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
...
Conflicts:
experimental/libkactivities/
plasma/applet.h
plasma/theme.cpp
staging/libkcoreaddons/src/jobs/kjob.cpp
2011-12-08 19:06:24 +01:00
Aaron Seigo
abd1d9ddba
make shortcuts and sharing settings enable Apply; use a QWeakPointer forthe shortcuts widget
2011-12-06 17:36:39 +01:00
Aaron Seigo
90b02f3973
massive step towards QGraphicsView being separated from libplasma
...
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet
TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Aaron Seigo
ca320eb0d4
clarity in variable naming
2011-08-17 13:12:45 +02:00
Aaron Seigo
4b3b687088
no longer provide access to the package from the class, let Package do that; adapt to Package merge
2011-07-15 12:59:51 +02:00
Aaron Seigo
bf17cc308a
move BackgroundHints to Plasma::, make it a plain enum
2011-06-24 16:35:09 +02:00
Aaron Seigo
b01348aa84
rely on AppletPrivate::remoteLocation (removing the need for PackageMetadata) and make it a proper KUrl
2011-05-31 00:04:03 +02:00
Aaron Seigo
dd122bc011
move applet handle handling (*cough*) to applet instead of contaiment
...
much cleaner and eliminates the possibility of odd crashes
BUG:253421
2011-05-28 00:23:37 +02:00
Aaron Seigo
fbb50df067
ensure that the containment configChanged() routine always happens
2011-04-25 16:43:48 +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
11d3b789a4
emit cancel signal
...
both when clicking cancel and pressing esc
CCBUG:265738
2011-02-09 00:11:25 +01:00
Aaron J. Seigo
8607a13142
clarify, document and fix how immutability (particularly kiosk-based SystemImmutability) is handled
...
svn path=/trunk/KDE/kdelibs/; revision=1196286
2010-11-12 22:48:31 +00:00
Aaron J. Seigo
92511efde0
* let the Corona know as soon as cleanUpAndDelete is called if we are a Containment
...
* simplify the path from an Applet being destroyed to cleanUpAndDelete being called
svn path=/trunk/KDE/kdelibs/; revision=1192720
2010-11-03 20:52:13 +00:00
Kevin Ottens
c0f66faad7
Allow to build libplasma without KIO. Only issue is that the
...
copying/moving/removal of folders is defunct (so is the package
install/uninstall).
svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Marco Martin
2735f78f51
block events in AppletOverlayWidget::mousePressEvent
...
svn path=/trunk/KDE/kdelibs/; revision=1160687
2010-08-08 19:57:11 +00:00
Aaron J. Seigo
f007828382
allow one to supply the KPluginInfo directly to the applet
...
svn path=/trunk/KDE/kdelibs/; revision=1158540
2010-08-02 23:56:02 +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
aa5e85e3fa
provide a (rather hidden, unfortunately) slot for applets and containments to attach custom widgets to to enable/disable a Apply button with. welcome the settingsModified() slot
...
svn path=/trunk/KDE/kdelibs/; revision=1129003
2010-05-21 00:26:23 +00:00
Aaron J. Seigo
3cd7bb718d
listen to shortcut change signals
...
BUG:236650
svn path=/trunk/KDE/kdelibs/; revision=1124129
2010-05-07 20:57:03 +00:00
Aaron J. Seigo
876345d389
extend parent app checks to all applet lists
...
svn path=/trunk/KDE/kdelibs/; revision=1120366
2010-04-28 23:34:30 +00:00
Marco Martin
7517afa198
when overriding the size policy, save the old one, should unbork a little contaiment switching
...
svn path=/trunk/KDE/kdelibs/; revision=1117160
2010-04-21 12:16:06 +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
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
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
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
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
c27ddab67e
QPointer -> QWeakPointer
...
svn path=/trunk/KDE/kdelibs/; revision=1034904
2009-10-13 21:43:35 +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
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
Rob Scheepmaker
c69e570b68
Add "freely accessable for everybody" checkbox to the publish page in
...
the applet config.
svn path=/trunk/KDE/kdelibs/; revision=1019593
2009-09-04 00:08:26 +00:00
Rob Scheepmaker
9cb9cfe65e
Push in remote widgets
...
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Aaron J. Seigo
7890d0c816
* unify the code that positions the message overlay
...
* always use contentsRect(), never geometry or boundingRect; this prevents how it sometimes overlaps the borders of applets
* always make sure that the zOrder is set, not just in the non-popup case
svn path=/trunk/KDE/kdelibs/; revision=1015154
2009-08-24 17:27:24 +00:00
Marco Martin
85cb69d28f
save the background hints in two vars when they are set, use the second
...
to restore the ones that were decided before the formfactor change. i.e.
no more need to set again and again the hints in formFactorConstraints
svn path=/trunk/KDE/kdelibs/; revision=1003180
2009-07-27 20:14:38 +00:00
Marco Martin
2a0e957d14
move the status stuff into Applet, constify and also put a bit of apidox
...
svn path=/trunk/KDE/kdelibs/; revision=993895
2009-07-09 16:35:11 +00:00
Aaron J. Seigo
1e4a7ee457
sort these out so we can look at them later for possible streamlining
...
svn path=/trunk/KDE/kdelibs/; revision=979909
2009-06-10 18:28:17 +00:00
Aaron J. Seigo
09e4b24817
make it possible to add custom (e.g. application specific) applet categories
...
CCMAIL:oszkar.ambrus@deri.org
svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Chani Armitage
c756fd29c4
configurable keyboard shortcuts
...
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Aaron J. Seigo
b8e1aab84d
use the Categories again, but mark the known ones for translation. all unknown categories will get relegated into the misc category
...
svn path=/trunk/KDE/kdelibs/; revision=962198
2009-05-01 18:03:13 +00:00
Aaron J. Seigo
d4c7994472
allow loading applets from packages directly
...
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Aaron J. Seigo
8620a462f4
moc it up
...
svn path=/trunk/KDE/kdelibs/; revision=951385
2009-04-09 06:07:33 +00:00
Aaron J. Seigo
43e5ee5d15
correct slots
...
svn path=/trunk/KDE/kdelibs/; revision=951381
2009-04-09 05:57:57 +00:00
Aaron J. Seigo
89b70374c3
abstract the bit of data engine management code out into a small class that the private classes can then subclass, and add dataEngine(const QString &) to Wallpaper
...
svn path=/trunk/KDE/kdelibs/; revision=947636
2009-03-31 23:51:52 +00:00
Marco Martin
919796da14
0 opacity with the busywidget
...
busywidget always on the icon rather in the popup
svn path=/trunk/KDE/kdelibs/; revision=936025
2009-03-06 18:21:59 +00:00
Marco Martin
754b8d34c3
paint the busy widget always square
...
use overlay widget to show the busy widget, duplication--
svn path=/trunk/KDE/kdelibs/; revision=935520
2009-03-05 13:05:12 +00:00
Marco Martin
5a2a47f473
now message overlays are in popup of popupapplets :)
...
duplication with spinner code still has to be merged
svn path=/trunk/KDE/kdelibs/; revision=934846
2009-03-03 22:23:42 +00:00
Artur Duque de Souza
d0205d92b3
Changes inside Plasma::Applet to test if we have a popup
...
and if this is true, if we should use widget() or graphicsWidget()
to show the BusyWidget.
svn path=/trunk/KDE/kdelibs/; revision=933444
2009-02-28 22:52:17 +00:00
Aaron J. Seigo
830a1d19dd
give access to the standard config dialog to script engines that care to use it
...
svn path=/trunk/KDE/kdelibs/; revision=930708
2009-02-24 02:32:48 +00:00