Aaron J. Seigo
a9b8490d33
make errors more consistent; patch by zrusin
...
BUG:22428
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746766
2007-12-10 05:03:47 +00:00
Chani Armitage
950cc1c149
appletbrowser gets a remove icon and a filter for running applets
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746735
2007-12-10 01:18:57 +00:00
Jason Stubbs
5db83950c4
Use Widget::view() to find the view rather than emmiting
...
QGraphicsSceneMouseEvent from Plasma::Icon for only that purpose
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746549
2007-12-09 13:32:30 +00:00
Script Kiddy
a98f0b9838
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746474
2007-12-09 07:38:20 +00:00
Aaron J. Seigo
706585b270
avoid negative sizes in absurd situations
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746404
2007-12-08 21:40:59 +00:00
Sebastian Trueg
2a34006fcd
Do not crash if the scene is not a Corona.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746210
2007-12-08 09:16:06 +00:00
Jason Stubbs
80bbadc39f
Operating under the premise that applets will receive notified with
...
constraintsUpdated(LocationConstraint) whenever there is a change in
position relative view makes global geometry handling much easier.
This change ensures that moving an applet via its handle follows the
above premise.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746173
2007-12-08 03:38:11 +00:00
Jason Stubbs
10af4df668
Added methods for gaining information about the view. This is useful for
...
applets such as systemtray and tasks that need to know about global
geometry.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746172
2007-12-08 03:35:11 +00:00
Aaron J. Seigo
059505f639
save/restore lock status
...
CCMAIL:tokoe@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745809
2007-12-07 05:02:54 +00:00
Aaron J. Seigo
1adb4d7387
update package defs
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745675
2007-12-06 19:45:57 +00:00
Pino Toscano
6664c9a206
include fixup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745319
2007-12-05 23:16:55 +00:00
Sebastian Kügler
9b112c42ae
Use QGraphicsSceneEvent instead of QGraphicsSceneMouseEvent to make it more flexible (actually needed for the devicenotifier)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745315
2007-12-05 23:09:28 +00:00
Sebastian Kügler
d2514a373b
Plasma::Dialog, a widget-dialog thing that can be used by plasma
...
applets to show additional information, using QWidgets and the like.
It's factored out from devicenotifier, thanks to Alexis Menard.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745298
2007-12-05 22:32:45 +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
57f73a4dc1
propagate constraints update on immutability change
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745247
2007-12-05 20:27:16 +00:00
Aaron J. Seigo
198544318a
* optional names for tools
...
* respond to immutability constraint updates, in particular hide the add widgets toolbox button
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745246
2007-12-05 20:26: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
12af5bc729
add a constraint for immutability changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745242
2007-12-05 20:23:25 +00:00
Aaron J. Seigo
e5911d2f46
* allow associating a tool name with a given tool
...
* convenience method for enabling/disabling tools by name
* don't show disabled tools
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745240
2007-12-05 20:22:25 +00:00
Script Kiddy
fee70cb28f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745035
2007-12-05 07:44:57 +00:00
Chani Armitage
7065e1722d
SVN_SILENT:
...
remove a completely unused variable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744809
2007-12-04 16:29:37 +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
946e0127b8
went through and checked methods that take or return pointers or indexes and added safety precautions against bad parameters
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744630
2007-12-03 23:53:56 +00:00
Dirk Mueller
bc093cdcf5
header cleanness++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744474
2007-12-03 19:01:01 +00:00
Aaron J. Seigo
cfd3bfac48
* SearchAction becomes SearchMatch; fall out of the refactoring
...
* add camel case headers for those classes now that they've settled in
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744452
2007-12-03 17:18:28 +00:00
Aaron J. Seigo
d3c5f72bab
fix possible crash
...
CCMAIL:slashdevdsp@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744440
2007-12-03 16:11:27 +00:00
Shane King
1a9b4524a1
Minor MSVC compile fix.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744254
2007-12-03 03:43:30 +00:00
Paolo Capriotti
49f0a32580
Add PackageStructure::read, write and related tests.
...
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743970
2007-12-02 13:16:39 +00:00
Paolo Capriotti
7dbc6b9ef1
Package refactoring as discussed on panel-devel.
...
* Icon, preview, screenshot and release notes are gone.
* Everything in a package (except metadata) is in the contents/ directory.
* Package::createPackage and Package::installPackage cleanup.
* Added Package::metadata method to retrieve a metadata object.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743935
2007-12-02 12:04:57 +00:00
Jason Stubbs
4627a3770c
Call the immediate parent's version rather than skipping to QGraphicsItem's
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743925
2007-12-02 11:30:48 +00:00
Jason Stubbs
89a387b76d
Cast the parent being checked rather than parentItem()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743922
2007-12-02 11:19:26 +00:00
Script Kiddy
220094f3a8
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743871
2007-12-02 08:04:51 +00:00
Ryan P. Bitanga
eff8326f80
Say hello to multithreaded krunner ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743865
2007-12-02 07:11:50 +00:00
Aaron J. Seigo
4babf5217d
let's get rid of all our containments on the way out as well
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743814
2007-12-02 00:54:20 +00:00
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