Marco Martin
e193b7eab0
pass clicks trough the busy spinner
2011-02-07 10:49:44 +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 J. Seigo
ae4f0579b9
only check the config for immutability if we actually have it; immutability() gets called from setHasConfigurationInterface which gets called from AppletPrivate::init() which meant it was trying to access the configuration group too early, resulting in it being misplaced; for most applets this wouldn't matter, but for applets-in-applets (it's always the sinners) it causes problems
...
BUG:261264
svn path=/trunk/KDE/kdelibs/; revision=1209283
2010-12-26 10:42:57 +00:00
Giulio Camuffo
3534c4fc0e
look for the containment in the QObject hierarchy if it could not be find in the QGraphicsItem one. This is needed to
...
make the applet which are offscreen find their containment.
svn path=/trunk/KDE/kdelibs/; revision=1207068
2010-12-16 20:08:16 +00:00
Marco Martin
c8f2e0cc8e
don't completely steal the filtered event, still pass to the drag handle
...
svn path=/trunk/KDE/kdelibs/; revision=1203605
2010-12-04 20:58:52 +00:00
Giulio Camuffo
ccb599572e
use QGraphicsScene::sendEvent instead of simply calling the event handler. this allow the containments to have more
...
control on the moving of the applets installing event filters on them and fixes the moving of the applet Icon in some
containments
svn path=/trunk/KDE/kdelibs/; revision=1202445
2010-11-30 22:20:34 +00: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
Chani Armitage
cf57b44044
and the winner is: Productivity. our new category :)
...
svn path=/trunk/KDE/kdelibs/; revision=1195647
2010-11-11 17:37:36 +00:00
Kevin Ottens
d85c4cc7ff
Include cleanup.
...
Based on a patch by Marijn Kruisselbrink.
svn path=/trunk/KDE/kdelibs/; revision=1194730
2010-11-09 17:22:22 +00:00
Aaron J. Seigo
e7f27c4e79
build after transplant to private class
...
svn path=/trunk/KDE/kdelibs/; revision=1192721
2010-11-03 20:55:23 +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
Giulio Camuffo
da9459d009
start always with a default size, otherwise if an applet doesn't resize itself it will freeze plasma
...
svn path=/trunk/KDE/kdelibs/; revision=1186915
2010-10-17 21:54: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
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
Aaron J. Seigo
64bc2af527
SVN_SILENT: pedant
...
svn path=/trunk/KDE/kdelibs/; revision=1178741
2010-09-23 19:18:16 +00:00
Aaron J. Seigo
b6d4b71680
we enforce immutability in other ways already, try not to get in the way of programmatic manipulation (versus user manipulation) of applets
...
svn path=/trunk/KDE/kdelibs/; revision=1177864
2010-09-21 14:26:47 +00:00
Aaron J. Seigo
6590d607fd
cascade corona -> containment -> applet immutability
...
svn path=/trunk/KDE/kdelibs/; revision=1177862
2010-09-21 14:21:58 +00:00
Marco Martin
bddd511086
when the config is changed, the config skeleton has to reload the config from the config group again
...
svn path=/trunk/KDE/kdelibs/; revision=1175737
2010-09-15 18:51:42 +00:00
Aaron J. Seigo
8a74b21168
no longer relevant
...
svn path=/trunk/KDE/kdelibs/; revision=1173977
2010-09-11 00:47:56 +00:00
Chani Armitage
900f8c6318
don't test isEnabled, it can be changed for >1 reason
...
svn path=/trunk/KDE/kdelibs/; revision=1171799
2010-09-05 08:03:27 +00:00
Aaron J. Seigo
f02786e31a
SVN_SILENT: ease giulio's pain in generate diffs
...
svn path=/trunk/KDE/kdelibs/; revision=1171395
2010-09-03 18:09:18 +00:00
Marco Martin
ac2976dbac
store the size for form factor only if not empty
...
svn path=/trunk/KDE/kdelibs/; revision=1168893
2010-08-27 19:27:19 +00:00
Marco Martin
c53542ca7d
add accelerators to keys, also bind esc with the message overlay destruction
...
svn path=/trunk/KDE/kdelibs/; revision=1164893
2010-08-17 21:46:00 +00:00
Aaron J. Seigo
5cdd5be918
geometryChanged is a signal in QGraphicsWidget in Qt 4.7, conflicting with Applet's. but they do the same thing (seems others ran into the same issues we did? :) .. so provide a binary compat preserving way to move Applet's signal "out of the way". right now we are getting warning msgs on console due to it, doulbe signal emissions and that all just smacks of bugs waiting to happen.
...
thanks to Gof for the protected method idea, and Alexis for his fast response to reported issues with the signal as implemented in the pre-release versions of Qt 4.7
CCMAIL:ogoffart@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1162242
2010-08-11 18:23:32 +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
c42a1e3d78
easier to scan
...
svn path=/trunk/KDE/kdelibs/; revision=1158866
2010-08-04 00:59:09 +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
Aaron J. Seigo
14c8caae4e
more sensible to not get overly worried about no service
...
svn path=/trunk/KDE/kdelibs/; revision=1158535
2010-08-02 23:28:13 +00:00
Aaron J. Seigo
7cbf6e1651
this can be simplified even further now
...
svn path=/trunk/KDE/kdelibs/; revision=1155700
2010-07-27 22:07:07 +00:00
Giulio Camuffo
698d924ded
AppletHandle is no more parent of Applet, removing an unuseful piece of code that could cause problems
...
svn path=/trunk/KDE/kdelibs/; revision=1155655
2010-07-27 19:54:26 +00:00
Ryan James Rix
8d2574b6d9
Moving Plasma::Applet::listAppletInfo into the PluginLoader logic. Also implemented internalAppletNames which, if implemented, will return a QStringList of the available applets' names. PluginLoader::listAppletInfo will then search for .desktop files in $APPDATA/plasma/applets/ which match the applets' names (ie. $APPDATA/plasma/applets/org.skrooge.report.desktop), and add them to the KPluginInfo::List returned by PluginLoader::listAppletInfo and subsequently Plasma::Applet::listAppletInfo.
...
Since the applets are dynamically loaded, the .desktop files don't need an X-KDE-Library entries, but the others will be used, for example X-KDE-PluginInfo-Name (which will be the value given to PluginLoader::internalAppletLoad, so it is really important), Icon, Type, ServiceTypes...
svn path=/trunk/KDE/kdelibs/; revision=1154551
2010-07-25 20:56:03 +00:00
Aaron J. Seigo
a6155e5659
move all plugin loading to the PluginLoader class.
...
svn path=/trunk/KDE/kdelibs/; revision=1150409
2010-07-15 21:38:56 +00:00
Ryan James Rix
e00a7b2422
Adds ability for applications which embed plasma to specify a class which
...
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.
http://reviewboard.kde.org/r/4554/
svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +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
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
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
2b262cc1bf
don't need to check for deletion
...
svn path=/trunk/KDE/kdelibs/; revision=1136116
2010-06-09 01:16:12 +00:00
Marco Martin
6191e5c9ee
show only a wrench icon as configuration button when in panel (and it's not a popupappllet)
...
BUG:240963
svn path=/trunk/KDE/kdelibs/; revision=1136000
2010-06-08 16:20:15 +00:00
Ignat Semenov
b006cfd82a
Do not show the defaut button as it does not work yet
...
svn path=/trunk/KDE/kdelibs/; revision=1130741
2010-05-26 07:55:37 +00:00
Aaron J. Seigo
162eb8db18
activity naming happens elsewhere now; generify panels
...
svn path=/trunk/KDE/kdelibs/; revision=1129009
2010-05-21 01:07:31 +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
Artur Duque de Souza
d6c0119d69
Reset the angle of an applet when moved to a panel
...
This way, applets that were rotated in Plasma::Planar are not
rotated anymore when moved to form factor Plasma::Horizontal ||
Plasma::Vertical.
BUG:237861
svn path=/trunk/KDE/kdelibs/; revision=1127712
2010-05-17 12:40:37 +00:00
Aaron J. Seigo
cd1cb881b9
SVN_SILENT: tidy ups
...
svn path=/trunk/KDE/kdelibs/; revision=1125280
2010-05-11 07:14:54 +00:00
Stephan Binner
5ddac55dcc
SVN_SILENT i18n style guide fixes
...
svn path=/trunk/KDE/kdelibs/; revision=1124547
2010-05-09 11:03:13 +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
29503066dd
Riddell's commit to fix broken installations (and i think it's still something of a bad hack, tbh) broke ALL OTHER WIDGET TYPES. fail.
...
this fixes that.
BUG:236258
svn path=/trunk/KDE/kdelibs/; revision=1122503
2010-05-04 03:19:09 +00:00
Aaron J. Seigo
1b7f06d209
explicitly set the applet as movable; this is because the containment isn't and this gets propagated when setting the containment as the parent.
...
svn path=/trunk/KDE/kdelibs/; revision=1120801
2010-04-30 01:05:52 +00:00
Aaron J. Seigo
b622b234d0
respect the movement flag
...
svn path=/trunk/KDE/kdelibs/; revision=1120798
2010-04-30 00:51:39 +00:00
Aaron J. Seigo
4c81145215
remove unneeded headers
...
svn path=/trunk/KDE/kdelibs/; revision=1120688
2010-04-29 17:23:20 +00:00
Marco Martin
abf446a3f8
refuse to downgrade immutability from systemimmutable here as well, just in case somewhere in applet a check will be done against d->immutability instead of immutability()
...
svn path=/trunk/KDE/kdelibs/; revision=1120663
2010-04-29 16:00:46 +00:00
Kevin Ottens
6a3240b051
libplasma becomes our first lib with profiles support.
...
svn path=/trunk/KDE/kdelibs/; revision=1120434
2010-04-29 05:57:34 +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
Aaron J. Seigo
dbd43adad7
use appear/disappear anims, not hardcoded stuff
...
svn path=/trunk/KDE/kdelibs/; revision=1120243
2010-04-28 17:42:12 +00:00
Aaron J. Seigo
15852ba68a
add the app's main component name to the listing as a valid option
...
svn path=/trunk/KDE/kdelibs/; revision=1119854
2010-04-27 20:31:29 +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
8dcae8f83c
heuristic for formfactor becoming quite complex.
...
since a containment can put applet in a child widget, we must compare sizes only of parents that are indeed applets (only way it works both the systray plasmoid and the newspaper applets)
svn path=/trunk/KDE/kdelibs/; revision=1114750
2010-04-14 12:05:15 +00:00
Marco Martin
b4b822e1dd
chack for view, crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1114503
2010-04-13 19:16:20 +00:00
Aaron J. Seigo
7aad31a3a9
when setting an applet to be a containment, check the furniture
...
svn path=/trunk/KDE/kdelibs/; revision=1114489
2010-04-13 18:36:54 +00:00
Marco Martin
6215a71fe7
ssign the view to the qstyleoption only if it's the proper view
...
svn path=/trunk/KDE/kdelibs/; revision=1114459
2010-04-13 16:21:12 +00:00
Marco Martin
956b5a8cc2
more heuristics in finding out the formfactor when an applet is inside another:
...
a popupapplet is alwais constrained if not directly in containment, an applet depends from the layout minimum size hint (and yes, is just to not break systemmonitor)
svn path=/trunk/KDE/kdelibs/; revision=1113811
2010-04-11 21:05:55 +00:00
Aaron J. Seigo
fb00fcf42c
use the package path provided by the package structure; fewer hardcoded paths
...
svn path=/trunk/KDE/kdelibs/; revision=1112725
2010-04-08 23:47:05 +00:00
Aaron J. Seigo
556c51d2a5
* dump support for QGraphicsItems in Extenders. looks like it was already broken anyways (hooray for untested paths). supporting QGraphicsItems just doesn't make much sense anyways. this gets rid of a number of bugs and simplifies the code a lot
...
* use more QGraphicsWidget API and simplify the code even more
* put the title bar drawing into a class of its own, simplifying the code yet more
* use a Plasma::Label in the title bar so we don't have to draw our own text and ... well, you know what goes here by now ;)
one downside to this is that margins in title bar svg are *actually* honored, which means the titles take a bit more room. the svg can be tweaked, however.
svn path=/trunk/KDE/kdelibs/; revision=1111918
2010-04-07 02:04:52 +00:00
Marco Martin
46c6e72e4b
showdialog becomes a slot
...
svn path=/trunk/KDE/kdelibs/; revision=1110635
2010-04-03 21:58:35 +00:00
Marco Martin
2466bbd960
AbstractDialogManager: will needed for shells to radically change the applets config dialogs (and possibly other dialogs) look and feel
...
svn path=/trunk/KDE/kdelibs/; revision=1110584
2010-04-03 19:10:32 +00:00
Jonathan Riddell
9ea9f63a7e
Check for actual metadata file, else it will try to load the plasmoid from ~/.kde if only the directory exists even though the plasmoid might be in /usr
...
BUG:231761
"Python plasmoids can no longer run from system directory"
svn path=/trunk/KDE/kdelibs/; revision=1108640
2010-03-29 13:55:07 +00:00
Aaron J. Seigo
f7cab7fcf2
move this into a more appropriate place
...
svn path=/trunk/KDE/kdelibs/; revision=1106778
2010-03-23 22:41:57 +00:00
Aaron J. Seigo
78201bdf2c
scripted popup applets must also have Plasma/Applet in their ServiceTypes; remove code working around buggy plasmoids
...
svn path=/trunk/KDE/kdelibs/; revision=1101740
2010-03-10 19:47:34 +00:00
Aaron J. Seigo
041e15f953
don't crash when failing multiple times
...
svn path=/trunk/KDE/kdelibs/; revision=1101318
2010-03-09 21:52:22 +00:00
Aaron J. Seigo
01b3fd2286
connect even if the action is initially disabled
...
svn path=/trunk/KDE/kdelibs/; revision=1100978
2010-03-09 05:15:13 +00:00
Aaron J. Seigo
0aebf5936c
guard against multiple connections due to errant StartupCompleted constraints
...
svn path=/trunk/KDE/kdelibs/; revision=1100976
2010-03-09 05:11:37 +00:00
Aaron J. Seigo
639b39a9cd
if we show the message in a popup, ensure it can at least be dismissed
...
BUG:229832
svn path=/trunk/KDE/kdelibs/; revision=1100957
2010-03-09 03:07:29 +00:00
Aaron J. Seigo
28e876bc0c
properly enable/disable the config action
...
BUG:229620
svn path=/trunk/KDE/kdelibs/; revision=1099718
2010-03-06 01:10:53 +00:00
Aaron J. Seigo
74ab090b72
in case a script engine does not add the standard pages (which is a bug in the script engine), at least don't crash
...
BUG:226823
svn path=/trunk/KDE/kdelibs/; revision=1090827
2010-02-16 06:46:39 +00:00
Aaron J. Seigo
342be4bd86
another use case, another way the code could fail; reorganize this code so that if a dialog isn't auto-generated (no matter why!) we fall back to the ScriptEngine's own implemenation
...
svn path=/trunk/KDE/kdelibs/; revision=1084746
2010-02-03 17:37:54 +00:00
Aaron J. Seigo
7d33f20f40
even better: if the UI file is bogus for whatever reason (not just "we can't open it") call the script's createConfigurationInterface to see if that works any better
...
svn path=/trunk/KDE/kdelibs/; revision=1084729
2010-02-03 16:18:37 +00:00
Aaron J. Seigo
9e9ccc663b
the ui load can return a null pointer, so guard against that
...
svn path=/trunk/KDE/kdelibs/; revision=1084622
2010-02-03 10:48:53 +00:00
Aaron J. Seigo
dd53f9bd7f
make it easy to track if the configuration dialog is around or not
...
svn path=/trunk/KDE/kdelibs/; revision=1082160
2010-01-29 21:21:16 +00:00
Chani Armitage
14c45f179f
make "run associated application" obey security
...
svn path=/trunk/KDE/kdelibs/; revision=1081144
2010-01-27 20:34:55 +00:00
Aaron J. Seigo
5eb78f23ea
zooming is gone; activity switching can be done for now using the activity switcher or the keyboard shortcuts. a new activity manager will be built up from here
...
svn path=/trunk/KDE/kdelibs/; revision=1080793
2010-01-26 23:35:32 +00:00
Chani Armitage
5f91181d59
changing names works better when you change all instances ;)
...
svn path=/trunk/KDE/kdelibs/; revision=1077904
2010-01-21 06:00:24 +00:00
Aaron J. Seigo
2ca0143367
don't double-connect the signals
...
svn path=/trunk/KDE/kdelibs/; revision=1076949
2010-01-19 06:57:28 +00:00
Aaron J. Seigo
5933c66adf
unecessary
...
svn path=/trunk/KDE/kdelibs/; revision=1076898
2010-01-19 01:57:19 +00:00
Aaron J. Seigo
9685752853
debug no longer needed, problem solved.
...
svn path=/trunk/KDE/kdelibs/; revision=1071845
2010-01-08 22:12:35 +00:00
Aaron J. Seigo
e23b884920
some diagnostic debug for Jon
...
svn path=/trunk/KDE/kdelibs/; revision=1071451
2010-01-08 05:07:00 +00:00
Aaron J. Seigo
e52aebe20e
don't both with checking if it's a new group unless we have a package
...
svn path=/trunk/KDE/kdelibs/; revision=1071441
2010-01-08 02:13:52 +00:00
Aaron J. Seigo
c856db301c
only do the work if the file exists
...
svn path=/trunk/KDE/kdelibs/; revision=1071440
2010-01-08 02:11:58 +00:00
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
Marco Martin
38e309aec5
fix the configure overlay appearance - we want the contentsrect, not the
...
rect
svn path=/trunk/KDE/kdelibs/; revision=1020851
2009-09-07 11:24:35 +00:00
Aaron J. Seigo
d56c7a9106
NoBackground, so we can set it to the standar background and have it actually initialized
...
svn path=/trunk/KDE/kdelibs/; revision=1019994
2009-09-04 23:45:44 +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
Aaron J. Seigo
1e6aaec27f
extenders into a subdir
...
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00
Marco Martin
acfd2a83fa
Add PopupConstraintEvent, tells popupapplets (and applets with popups)
...
that the position has to be changed
svn path=/trunk/KDE/kdelibs/; revision=1019486
2009-09-03 18:11:49 +00:00
Rob Scheepmaker
5b160ac802
Make policykit stuff 'work' (well, it doesn't, I'll still have to figure
...
out why, but the basic code is there), and delay the starting of the
jolie service and unlocking of the keyring for your credentials to when
it's actually needed.
svn path=/trunk/KDE/kdelibs/; revision=1019142
2009-09-02 23:49:58 +00:00
Rob Scheepmaker
b809967eb3
APIDOX and code style++, plus policykit integration.
...
svn path=/trunk/KDE/kdelibs/; revision=1019141
2009-09-02 23:49:46 +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
Richard Dale
415a82ccfc
* I hope the normal standard of service is resumed in the plasma trunk, sorry..
...
svn path=/trunk/KDE/kdelibs/; revision=1013796
2009-08-20 19:05:14 +00:00
Richard Dale
fdd07bf6d2
* Attempt to fix borked commit
...
svn path=/trunk/KDE/kdelibs/; revision=1013794
2009-08-20 18:43:36 +00:00
Richard Dale
eb51ca9165
* Add a Plasma::AppletScript::addStandardConfigurationPages() method that adds
...
standard pages to a configuration dialog such as the shortcuts one. In
conjunction with standardConfigurationDialog() this will allow script engines
to use the same dialogs as C++ applets
svn path=/trunk/KDE/kdelibs/; revision=1013765
2009-08-20 18:19:44 +00:00