Marco Martin
710be86ffd
pi changes:
...
raise() is now a slot, a new lower() slot was added
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800280
2008-04-23 20:27:44 +00:00
Marco Martin
1e77632048
api changes:
...
init() and setFailedToLaunch are now protected
containment and corona are friends of applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798585
2008-04-18 16:05:20 +00:00
Dmitry Suzdalev
c2b28413dd
/me done another round of simple stuff renaming :)
...
(corresponding wiki items <s>-ed out)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797824
2008-04-16 21:15:38 +00:00
Aaron J. Seigo
4381fdfafa
they beginning of keyboard focus possibilities; hardly works at the moment, but this is the groundwork
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797091
2008-04-14 21:50:41 +00:00
Aaron J. Seigo
17bba1cffc
SVN_SILENT: tabs are not cool. tell your friends.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797074
2008-04-14 21:07:25 +00:00
Alexis Ménard
d5dd4e16ac
Ammmaaziiing grace!!
...
Widget class is dead..
still in the repo for tooltip code
CCMAIL : aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796973
2008-04-14 16:02:23 +00:00
Alexis Ménard
d91b8a94d4
remove useless function
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796939
2008-04-14 15:15:26 +00:00
Alexis Ménard
1b7a9a14e0
+bye bye paintwidget method
...
+remove tooltip that will be replaced by the tooltip manager
+port some used stuff in applet class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796924
2008-04-14 14:50:02 +00:00
Alexis Ménard
1b15d951a9
API clean : bye bye opacity, wich is bas implemented in all cases
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796900
2008-04-14 14:09:13 +00:00
Alexis Ménard
548d250d59
say hello again to the panel, and fix some performance issue
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796806
2008-04-14 10:48:32 +00:00
Alexis Ménard
4467261c95
Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
...
applets,
please update to another revision to use the version that works
green flag from aaron
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
2008-04-13 13:23:39 +00:00
Aaron J. Seigo
f5b6d38cac
this needs to be virtual as well
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796306
2008-04-13 08:24:28 +00:00
Andre Duffeck
ef0c0375c3
Add an opacity attribute. GUI portion coming later
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=793581
2008-04-04 13:16:55 +00:00
Aaron J. Seigo
2558d5c305
introduce createConfigurationInterface, it's now the prefered mechanism. showConfigurationInterface remains for the convenience of Applet itself, and remains virtual so as not to break existing applets.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=792927
2008-04-02 15:37:17 +00:00
Aaron J. Seigo
1833641e3b
make setNeedsConfiguring behave nicely
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=792371
2008-03-31 22:06:35 +00:00
Andre Duffeck
57479a0a11
apidox fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791058
2008-03-28 07:42:25 +00:00
Laurent Montel
9d5aa89497
Fix typo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787915
2008-03-20 07:47:05 +00:00
Sebastian Kügler
9d6ce15f54
typos--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781856
2008-03-03 19:27:52 +00:00
Pino Toscano
896bae2516
- public Qt includes as QModule/QFoo
...
- public KDE CamcelCase includes as KDE/KFoo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781163
2008-03-02 02:18:10 +00:00
Dan Meltzer
7f624f85d9
Revert one large git mess
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
a081559257
Commit initial progress of work to port to qt4.4
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
bed3c1d927
* share the package structures by using a single shared ptr
...
* use the script's contentSizeHint if we are a script
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779417
2008-02-26 04:08:51 +00:00
Aaron J. Seigo
2f78de3142
* make it possible for applets to define what package structure they use
...
* update to api tweakages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779404
2008-02-26 01:48:52 +00:00
Marco Martin
b1a362b67f
transplant of sceneEventFilter and mouseMoveEvent from the icon applet to the applet class, this will cause a lot less duplication.
...
if you want to make a widget draggable around just call the new function
void watchForMouseMove(QGraphicsItem * watched, bool watch)
also, some style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=777705
2008-02-21 10:26:40 +00:00
Aaron J. Seigo
cf89bd58d1
make it possible to get at the package structures using Theme::packageStructure() and Applet::packageStructure() without having to export the package definitions from the library itself.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=775272
2008-02-15 10:35:00 +00:00
Aaron J. Seigo
1f5e98edec
* allow restoring from applet itself (something i've wanted to to do for a while, have it all in corona isn't a good idea)
...
* restore lock status
* save/restore zorder
* allow "raising" and applet (increase zorder above all others)
* some layout fixes for next monday's big layout fix patch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774337
2008-02-13 01:52:02 +00:00
Andre Duffeck
70b12916b2
react to changes of Plasma::Theme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773942
2008-02-12 07:33:07 +00:00
Aaron J. Seigo
a438b53373
die, setSize, die, and all the problems you represent. silly duplicated, not-like-qwidget API anyways. ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773505
2008-02-11 08:24:09 +00:00
Aaron J. Seigo
e83f329de0
the proper fix for stupid compilers *sigh* setSize(int, int) isn't virtual in Widget, but that doesn't matter in this case at all.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773493
2008-02-11 07:56:53 +00:00
Aaron J. Seigo
eed0410c56
* make setSize virtual as well since it sets d->size internally, so Applet needs to intercept that call
...
* remove some dead code in widgets.cpp
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773475
2008-02-11 06:11:13 +00:00
Aaron J. Seigo
f2674c9a51
* setRemainSquare(bool) to allow applets to say "yes, keep my width == height, thank you"
...
* use AppletScript
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765975
2008-01-25 00:08:25 +00:00
Aaron J. Seigo
467eadedda
api fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=762849
2008-01-18 00:09:33 +00:00
Aaron J. Seigo
16dab9574f
* move the header bits around a bit for a more logical ordering (e.g. all static methods together, all reimp'd methods that are really imp details together at the bottom, etc)
...
* implement a generic shape() method. this is experimental, so will be interesting to see how it goes. it does show we need a good shape hint in the applet background svg =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=760187
2008-01-12 06:02:29 +00:00
Aaron J. Seigo
311f2380ce
per applet aspect ratio guidance with setAspectRatioMode
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=759497
2008-01-10 19:02:05 +00:00
Aaron J. Seigo
81909190eb
after porting applets, it occurred to me that this naming is nicer.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755617
2008-01-01 22:54:33 +00:00
Aaron J. Seigo
e12dbeb000
provide a way for applets to signal that they'd like their config saved out to disk, please.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755616
2008-01-01 22:44:56 +00:00
Richard J. Moore
94170b9e65
Fix breakage
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751220
2007-12-21 12:34:40 +00:00
Riccardo Iaconelli
e4665a938a
Implement Applet::shouldConserveResources(), a method to help plasmoid developers to know whether they should conserve resources.
...
Peer reviewed by Chani and Richmoore.
CCMAIL:aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751216
2007-12-21 12:27:29 +00:00
Aaron J. Seigo
65af194560
convenience methods for content size access
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750257
2007-12-19 00:45:29 +00:00
Jason Stubbs
1dc5cc58fc
Move the "call the parent's contextMenuEvent()" hack from Applet into
...
Widget so that applets with embedded widgets also get the containment's
context menu.
BUG: 152698
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=749078
2007-12-16 13:21:16 +00:00
Sebastian Kügler
792274b1da
SVN_SILENT --typo
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745297
2007-12-05 22:31:23 +00:00
Aaron J. Seigo
5c257fce5a
* update constraints on immutability changes
...
* introduce QRectF contentRect() const method so applets can easily get the content rect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745244
2007-12-05 20:24:40 +00:00
Aaron J. Seigo
e2249860fd
differentiate between runtime and kiosk immutability
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744675
2007-12-04 04:15:21 +00:00
Aaron Eisenberg
f7a0308982
Added the ability to lock desktop widgets and assigned icons to all the desktop context menu actions.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744659
2007-12-04 02:17:21 +00:00
Aaron J. Seigo
5b65d5c54c
* load packages properly
...
* handle scriptegines properly
* add a setContentSize so applets can use that and not get screwed by the borders
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743089
2007-11-29 20:38:13 +00:00
Aaron J. Seigo
f73b97780a
min/max setters and getters for content size
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742754
2007-11-28 21:08:12 +00:00
Aaron J. Seigo
165a2ce9f1
* cache the config object, which means:
...
* we have to be able to reset it when, e.g. removing the applet or moving it to another, so introduce resetConfigurationObject for internal use
* make it possible to get the containment for an applet by outsiders (e.g. other containments)
* don't access the config object until after we've been assigned to a scene
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742098
2007-11-27 06:01:06 +00:00
Aaron J. Seigo
ed8c50e03f
completely change how we save and load containments and panels.
...
it all happens from one file now using nested groups. this has two major effects:
- one file to rule them all for any given corona; this makes things even nicer for use in other apps, btw.
- the ability to easily save, send/share and restore corona configuration layouts; something i've wanted from the start
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741158
2007-11-24 23:38:37 +00:00
Aaron J. Seigo
71b89ebb5f
don't show categories with no visible items in them
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738621
2007-11-19 09:46:52 +00:00
Aaron J. Seigo
bfcc1e31e6
* get rid of the paintHover, that's deprecated by kevin's hover stuff in the coronal world
...
* don't paint the interface of containments being shown on views that don't want a background
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737026
2007-11-15 09:39:46 +00:00