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
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
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
00e4cabd06
SVN_SILENT ocd strikes again
...
svn path=/trunk/KDE/kdelibs/; revision=1155689
2010-07-27 21:24:50 +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
Sebastian Trueg
c62e5ceca5
Added some basic documentation for a method which is impossible to understand without looking at code examples. Please, please, Plasma team, document your API!
...
svn path=/trunk/KDE/kdelibs/; revision=1125046
2010-05-10 15:26:33 +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
3c24748547
++apidoxAccuracy
...
svn path=/trunk/KDE/kdelibs/; revision=1123297
2010-05-05 20:00:56 +00:00
Chani Armitage
4c9b16fb50
this ought to be mentioned in the docs
...
svn path=/trunk/KDE/kdelibs/; revision=1119982
2010-04-28 06:05:09 +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
Aaron J. Seigo
b16960c73b
allow loading of individual runners, including from packages
...
svn path=/trunk/KDE/kdelibs/; revision=1106782
2010-03-23 22:43:34 +00:00
Aaron J. Seigo
dd96031f53
isBusy is the wrong name for the property; should be just 'busy', but it's too late at this point to remove isBusy, so just duplicate it. i'd rather have a consistent API and get people using that so that there is less heartache when we get rid of isBusy whenever we break BC
...
svn path=/trunk/KDE/kdelibs/; revision=1082161
2010-01-29 21:22:36 +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
Aaron J. Seigo
5c9fdd4af3
missing property
...
svn path=/trunk/KDE/kdelibs/; revision=1070141
2010-01-04 23:44:57 +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
Giulio Camuffo
28d88ef232
must use Plasma::Type and not only Type in the signals!!! fixed the immutabilityChanged signal, the messageButtonPresses
...
cannot be changed 'cause is there from 4.3, so added a note in the apidox about a workaround
svn path=/trunk/KDE/kdelibs/; revision=1061166
2009-12-10 21:07:28 +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
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
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
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
Chani Armitage
9d2a2e40ba
api review part 1
...
removed some dead signals and an unnecessary const
svn path=/trunk/KDE/kdelibs/; revision=1012640
2009-08-17 22:30:50 +00:00
Chani Armitage
f0a68d537c
make rightclick plugins possible
...
this makes rightclicks use the plugin configured for rightclick
and adds a new method to the plugin for when an applet is rightclicked
(we need a list of actions then that we can insert into the menu)
this also adds a signal for immutability and improves handling of
needs-configuring plugins
svn path=/trunk/KDE/kdelibs/; revision=1012639
2009-08-17 22:30:46 +00:00
Richard Dale
83396186c2
* Fixed a couple of typos
...
svn path=/trunk/KDE/kdelibs/; revision=999752
2009-07-20 13:22:58 +00:00
Richard Dale
f962a9c958
* Change the name of the initScriptExtenderItem to extenderItemRestored as it is less clumsy
...
svn path=/trunk/KDE/kdelibs/; revision=999251
2009-07-19 14:25:00 +00:00
Richard Dale
695168a4bd
Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
...
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()
svn path=/trunk/KDE/kdelibs/; revision=998323
2009-07-17 12:31:08 +00:00
Marco Martin
a3c54b201c
move the status stuff into Applet, constify and also put a bit of apidox
...
(forgotten from the previous commit:))
svn path=/trunk/KDE/kdelibs/; revision=993912
2009-07-09 17:19:00 +00:00
Chani Armitage
b81f27be13
SVN_SILENT no iff
...
svn path=/trunk/KDE/kdelibs/; revision=977672
2009-06-05 00:14:25 +00:00
Chani Armitage
81244eb86a
okay, make it const
...
svn path=/trunk/KDE/kdelibs/; revision=976922
2009-06-03 01:10:57 +00:00
Chani Armitage
2d2aef5930
isAllowed -> hasAuthorization
...
svn path=/trunk/KDE/kdelibs/; revision=976800
2009-06-02 17:25:30 +00:00
Chani Armitage
d38bec87e6
SVN_SILENT grammar improvements
...
svn path=/trunk/KDE/kdelibs/; revision=971223
2009-05-22 02:49:40 +00:00
Chani Armitage
01895ba4b5
@since fixes
...
svn path=/trunk/KDE/kdelibs/; revision=971221
2009-05-22 02:12:48 +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
c8d29894f3
SVN_SILENT: @since fixes
...
svn path=/trunk/KDE/kdelibs/; revision=959692
2009-04-26 20:40:46 +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
Rob Scheepmaker
c47d34bcba
Yay! Add support for grouping in extenders. Expect this feature used for grouping jobs in systemtray soon: I'll commit that as soon as I figured out the last problem that patch has (an atm seemingly random crash that happens incidentally).
...
svn path=/trunk/KDE/kdelibs/; revision=943303
2009-03-23 16:30:32 +00:00
Chani Armitage
5332b1edc8
security constraints can be defined now, whee
...
svn path=/trunk/KDE/kdelibs/; revision=935220
2009-03-04 17:05:51 +00:00
Rob Scheepmaker
fe805eb338
Massive refactoring of extender drag&drop handling. This should avoid bugs with the old way of doing things (toplevel view on an offscreen widget can lose
...
mouse events while dragging), and is generally shorter and cleaner. There are still some regressions I'll be working on fixing, but it basically works, avoids
crashes and is even faster.
svn path=/trunk/KDE/kdelibs/; revision=923915
2009-02-09 18:10:45 +00:00
Ambroz Bizjak
476fd1a6a3
Added signals appletTransformedByUsed and appletTransformedItself to
...
Plasma::Applet. This makes it easier for layouts to know when applets
are transformed (moved/resized/rotated), and know whether the change
was by the user or the applet itself.
svn path=/trunk/KDE/kdelibs/; revision=923848
2009-02-09 15:09:28 +00:00
Marco Martin
05577817bf
make a new constructor with arguments to make possible for non-plugin
...
scripted applet to have arguments and a new accessor to have the applet
arguments at any moment
svn path=/trunk/KDE/kdelibs/; revision=923308
2009-02-08 15:24:56 +00:00
Marco Martin
96fdff9468
SVN_SILENT: add @since 4.3 to the shiny new stuff
...
svn path=/trunk/KDE/kdelibs/; revision=921029
2009-02-04 10:59:15 +00:00
Marco Martin
2046c01a29
messagebox that displays as an overlay over the applet.
...
it has optional buttons or can be shown/closed programmatically by the
applet implementation
svn path=/trunk/KDE/kdelibs/; revision=920367
2009-02-02 19:39:41 +00:00
Alexis Ménard
ef4b6c7187
Add an appletDestroyed signal instead of catching the destruction in containments with qobject destroyed signal.
...
THis fix errors because we give an invalid pointer to public appletRemoved signal.
svn path=/trunk/KDE/kdelibs/; revision=917619
2009-01-28 07:58:17 +00:00
Aaron J. Seigo
e817ea81f5
woah, can't believe i didn't catch this one... another day later and it would've been ABI disaster! ;)
...
svn path=/trunk/KDE/kdelibs/; revision=914446
2009-01-21 06:17:23 +00:00
Marco Martin
831f2564d8
quite mega-patch:
...
add a new function FrameSvg::alphaMask() that lets define an alpha-layer
for the frame, that can be the frame itself or a mask- prefix
allow for overlay elements on frames that can do a nice
filigrane-effect, they can either be:
-fixed position at 0,0
-random position consistent across plasma runs (only supported for applet
backgrounds)
-tiled
-scaled
svn path=/trunk/KDE/kdelibs/; revision=910655
2009-01-13 21:46:07 +00:00
Alex Merry
9c1570f13e
apidocs fixes.
...
Remember to document ALL parameters to methods. They may seem obvious to you, but I had to look at the code for at least two of the methods in order to document their parameters correctly.
*waves stick of EBN-ness*
svn path=/trunk/KDE/kdelibs/; revision=908604
2009-01-10 00:08:31 +00:00
Aaron J. Seigo
be4c8c2c5e
if an applet overrode configChanged (it is virtual), the keyboard shortcuts wouldn't get picked up; so move that all to a private slot and now configChangedcan be safely used instead of connecting up to the dialog signals yourself as an added bonus
...
svn path=/trunk/KDE/kdelibs/; revision=906175
2009-01-05 18:08:14 +00:00
Aaron J. Seigo
52ad594971
allow checking if the applet has a popup showing associated with it. not BC, but we haven't released 4.2.0 yet and this is the least ucky way of doig it ;)
...
svn path=/trunk/KDE/kdelibs/; revision=902770
2008-12-29 06:03:43 +00:00
Chani Armitage
c1266d8689
that comment stopped being true a looong time ago ;)
...
svn path=/trunk/KDE/kdelibs/; revision=902765
2008-12-29 05:07:57 +00:00