Script Kiddy
e21f8f77bb
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743500
2007-12-01 07:41:49 +00:00
Aaron J. Seigo
9d936d1d8f
still messed up, but less useless confusing code in there now =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743202
2007-11-30 01:06:27 +00:00
Aaron J. Seigo
e07afa49a8
make it possible for scripts to get at the size of the applet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743090
2007-11-29 20:39:42 +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
8bcd5a7a04
use X-Plasma-EngineName isntead
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743045
2007-11-29 18:52:26 +00:00
Aaron J. Seigo
1c91abba17
export the class, clean up the api
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742874
2007-11-29 04:30:48 +00:00
Aaron J. Seigo
d06a97fa73
SVN_SILENT: hush
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742850
2007-11-29 01:05:16 +00:00
Aaron J. Seigo
4c582073df
we need to init() the constraint earlier now that the ContainmentType isn't set until init()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742848
2007-11-29 01:02:33 +00:00
Aaron J. Seigo
eb62d53f8f
handle the setting of the default type a bit differently; delay it until init and only if the subclass hasn't set something on us
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742839
2007-11-29 00:20:37 +00:00
Aaron J. Seigo
c746f91370
check for missing screens after creating existing ones
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742837
2007-11-29 00:19:03 +00:00
Aaron J. Seigo
22893bd077
change of heart after trying a few more things out: make containment type something that can be externally set.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742774
2007-11-28 21:46:17 +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
312f42dec0
when setting min/max sizes, adjust our geometry if our current size is not within those boundaries
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742716
2007-11-28 18:41:21 +00:00
Aaron J. Seigo
eda0d2a4ef
use Window not View for the text colour. we really need a proper colorscheme here...
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742458
2007-11-28 03:20:56 +00:00
Aaron J. Seigo
4013f346ae
bitten by the difference between type() and containmentType() again; layering one set of concepts (plasma) over another (qgv) does have its annoying sides ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742416
2007-11-27 23:36:10 +00:00
Aaron J. Seigo
119dacffe8
right, handles only on desktops for now
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742411
2007-11-27 23:23:38 +00:00
Alexis Ménard
779a913e6d
Add the device notifier to the taskbar
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742410
2007-11-27 23:22:07 +00:00
Aaron J. Seigo
dee3a63add
don't bother animating the items on start up (delayedInit) since we never see the anims anyways so it's just a bunch of unecessary computation at launch.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742409
2007-11-27 23:19:02 +00:00
Aaron J. Seigo
dc57fc5c19
respect min/max sizes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742408
2007-11-27 23:18:00 +00:00
Aaron J. Seigo
7fa8e8e1c0
respect min and max sizes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742405
2007-11-27 23:14:49 +00:00
Aaron J. Seigo
0b2c1b481f
rough in what should be screen hotplug detection, once QDesktopWidget gets it stuff together
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742393
2007-11-27 22:55:09 +00:00
Aaron J. Seigo
3166344116
textColor() convenience method
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742361
2007-11-27 21:56:47 +00:00
Aaron J. Seigo
f63f585f1a
take into consideration the appearance of new screens between plasma runs.
...
thanks to Frederic Marmond for testing these situations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742145
2007-11-27 09:06:52 +00:00
Aaron J. Seigo
20470c7c67
keep screen assignments; this way if a screen is unplugged then comes back between plasma runs (e.g. log ins) we still have the containment kicking around. useful, that. ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742136
2007-11-27 08:47:46 +00:00
Aaron J. Seigo
fa2286925c
try and be a bit more careful about creating non-existent containments due to broken config files
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742122
2007-11-27 07:47:23 +00:00
Script Kiddy
8abab3d5ac
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742119
2007-11-27 07:46:00 +00:00
Aaron J. Seigo
b8d5915b22
don't bother creating applets with no plugin=
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742108
2007-11-27 06:35:26 +00:00
Aaron J. Seigo
51e828917e
* simplify some of the code
...
* put warning comments about using config() prematurely
* improve addApplet(Applet *) by having it remove the applet from the other containment, reset the config, deal with scene event filters....
* be less noisy with kdebugamania
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742103
2007-11-27 06:08:44 +00:00
Aaron J. Seigo
37498d2541
order of operations can be important; dragging between containments still isn't perfect as there is somethings a "jump" of the applet on mouse over before it settles in to where it should be, but this gets a bit closer
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742102
2007-11-27 06:04:45 +00:00
Aaron J. Seigo
0374286c07
* don't reset the painter's opacity to the widget's opacity; rather, *apply* the widget's opacity to the painter's opacity
...
* get rid of the internal child list. we don't need it and it's a pain (as in error prone) to maintain, esp when we have QGraphicsItem::children()
(man i wish svn allows partial file commits =/ i wonder (idly) if git or any of those new fangled vcs's do?)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742100
2007-11-27 06:03:19 +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
28f584f03b
proper order of arguments to get the geometries right. dragging between containments now works pretty well.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742035
2007-11-26 23:38:39 +00:00
Aaron J. Seigo
b3a584ab04
always root to the origin. prevents auto-centering which works against the zooming
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742031
2007-11-26 23:33:59 +00:00
Aaron J. Seigo
c3d71fb5f3
* don't assume a screen; this prevents containments without a screen expressley set from taking over the primary desktop; at least i know that screen take over works though ;)
...
* only bother with screent take over is we have an actual screen (e.g. something > -1)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742029
2007-11-26 23:28:03 +00:00
Jeremy Paul Whiting
44a7a86a6c
enable moving applets from one desktop containment to another, still a bit buggy, but functional
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742001
2007-11-26 21:57:50 +00:00
Kevin Ottens
1d7f16296d
Also snaps to the original size.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741943
2007-11-26 19:44:40 +00:00
Kevin Ottens
0cbf8a7a48
Snap angles based on the applet coordinates, not the handle ones.
...
Surprisingly the solution didn't involve pi/2... I'm almost
disappointed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741942
2007-11-26 19:37:20 +00:00
Paolo Capriotti
b88aea051e
Cleanup of Package classes as discussed on panel-devel.
...
* Add convenience constructor to the Package class.
* Make some methods const in PackageStructures.
* Use QByteArray to store keys in PackageStructures, so that they are compared
by value, and not by address.
* Add a test checking that the path to the metadata file is retrieved correctly.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741935
2007-11-26 19:16:40 +00:00
Aaron J. Seigo
9603d8cf57
we need to turn the background off here, as well.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741921
2007-11-26 18:32:25 +00:00
Aaron J. Seigo
f339cb9dcb
config().deleteGroup() doesn't removethe applet, just the configuration for the applet. we need to remove the applet's main group to properly delete an apple from the config.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741916
2007-11-26 18:26:32 +00:00
Aaron J. Seigo
852d3253cc
propery geometries
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741913
2007-11-26 18:23:51 +00:00
Sebastian Trueg
05ae38296c
Do not run into an endless loop in case we have no containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741866
2007-11-26 16:25:12 +00:00
Aaron J. Seigo
09f337b3fa
fix the test
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741740
2007-11-26 09:28:48 +00:00
Script Kiddy
a490dc44ee
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741702
2007-11-26 08:05:24 +00:00
Pino Toscano
e79b663813
include fixup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741468
2007-11-25 18:17:19 +00:00
Tom Albers
bd382fa983
Fix wording so it does not result in false positives.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741335
2007-11-25 13:28:25 +00:00
Aaron J. Seigo
f54dcc2cc1
future proof the ConfigXml API a bit by pretending we actually know what to do with a KConfigGroup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741174
2007-11-25 00:14:27 +00:00
Aaron J. Seigo
9c31a55b06
use the corrrect signature for the virtual method
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741173
2007-11-25 00:13:49 +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
1e1b63b9fe
add the Geometry Changed constraint
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741157
2007-11-24 23:37:18 +00:00