Commit Graph

13950 Commits

Author SHA1 Message Date
Aaron J. Seigo
b8a9f72008 add an icon() accessor
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691201
2007-07-23 06:12:38 +00:00
Aaron J. Seigo
201afe2033 * debug output when an absolute path is provided and the file doesn't exist
* provide an isValid() method

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691142
2007-07-23 00:50:10 +00:00
Aaron J. Seigo
0491b8b112 immutable -> isImmutable.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691135
2007-07-23 00:24:36 +00:00
Aaron J. Seigo
26b3b62ed7 DataSource -> DataContainer, so it's more obvious that it isn't the -source- of the data.
the api remains the same however.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691134
2007-07-23 00:22:16 +00:00
Juan González Aguilera
45f1406a2b Extend QObject so a QDbusAdaptor can be built for it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691122
2007-07-22 23:20:50 +00:00
Matthias Kretz
1fd776be2e port to value based KPluginInfo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691115
2007-07-22 23:10:53 +00:00
Matias Valdenegro Toro
bef5a33ed5 - Full Doxygenization
- Ported PushButton to Plasma::Widget API
- Two new classes, Rectangle and Label.
- All Widgets should now inherit from Plasma::Widget


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691090
2007-07-22 22:16:40 +00:00
Aaron J. Seigo
dd7b8b306b ebn fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691079
2007-07-22 22:01:10 +00:00
Laurent Montel
cf70eb1f86 Allow to select text into lineedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691055
2007-07-22 20:46:23 +00:00
Aaron J. Seigo
0314b60615 SVN_SILENT: --tabs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691039
2007-07-22 20:00:13 +00:00
Aaron J. Seigo
09d1546b2c let's do something a bit more sensible for the default sizeHint(). it's still likely to return 0,0 but it gives us a chance at least at something non-zero
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691036
2007-07-22 19:59:13 +00:00
Richard J. Moore
1822d55bbb Make the paint methods invokable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690995
2007-07-22 17:41:47 +00:00
Andre Duffeck
e7fa9f4480 Align text centered by default.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690976
2007-07-22 16:36:36 +00:00
Laurent Montel
c40241f72e Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690966
2007-07-22 15:54:56 +00:00
Laurent Montel
3e1f6c75c1 Allow to use it as multiline (need by notes plasma)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690899
2007-07-22 13:41:34 +00:00
Andre Duffeck
17b3de682f Allow to define the position of the text/pixmap.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690864
2007-07-22 12:01:01 +00:00
Andre Duffeck
4798c5e3a8 Center flashed pixmap.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690856
2007-07-22 11:37:21 +00:00
Andre Duffeck
b58baaef6b Import Flash widget.
It allows to show text or an image in order to notify the user about some change.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690844
2007-07-22 11:02:34 +00:00
Laurent Montel
95ebda9f32 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690626
2007-07-21 15:58:44 +00:00
Andre Duffeck
6c25a3b98e fix boundingRect.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690596
2007-07-21 14:04:37 +00:00
Aaron J. Seigo
37c3b20e77 make the background something that there is a hope of seeing text on; still not final artwork but now perhaps people will actually bother to use it =)
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=690472
2007-07-21 08:29:05 +00:00
Aaron J. Seigo
fc0938d3bb * don't show the test action on every icon; we know it works ;)
* set the rects on the other actions properly
* shift the rects around when the icon resizes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690431
2007-07-21 04:19:00 +00:00
Aaron J. Seigo
01ab982d54 * coding style guides are not a cute suggestion but a promise to be fulfilled.
* take QAction*s, which belong to whatever throws them at us
* don't polute the public API with unecessary classes
* avoid subclassing Private classes

i'm still not overly happy with this class as it stands right now.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690430
2007-07-21 04:07:41 +00:00
Urs Wolfer
001cce34dc compile fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690407
2007-07-20 22:54:56 +00:00
Matt Broadstone
55be0c7a1c icons draw text now, moved corner items to qaction based objects, and support 4 corners. still a bit messy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690398
2007-07-20 22:30:33 +00:00
Richard J. Moore
23c1f996d2 First steps towards scriptability
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690375
2007-07-20 21:00:11 +00:00
Aaron J. Seigo
51a0162fae started on docu fixes from ebn until i realized that the line numbers are all messed up in the apidox tests and so moved on
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690174
2007-07-20 08:12:20 +00:00
Aaron J. Seigo
af043ca588 too tired to do much of anything else, i figured i could fix some ebn issues
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690173
2007-07-20 08:06:27 +00:00
Aaron J. Seigo
d692c9f3d5 boundingRect should be public, not protected
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690166
2007-07-20 07:42:02 +00:00
Matt Broadstone
6ea5d0771b Icon now draws text, also lots of api love
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690149
2007-07-20 06:28:51 +00:00
Aaron J. Seigo
98e4e20fe2 * add createPackage to Package
* remove Packager since it has no point in life anymore

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690116
2007-07-20 04:23:27 +00:00
Aaron J. Seigo
0f2acacbe7 * const correctness fixes
* allow setting/getting a service type

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690113
2007-07-20 04:14:13 +00:00
Aaron J. Seigo
43a98e8fc1 automatically register packages with sycoca
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690112
2007-07-20 04:07:00 +00:00
Aaron J. Seigo
8c8504964e * disable copying of Applet due to dptr-but-no-copy-ctor
* provide an accessor to the Package object.
* some const corrections

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690105
2007-07-20 03:34:20 +00:00
Aaron J. Seigo
44fe05f668 create a Package if we have a scripted plasmoid on hand.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690104
2007-07-20 03:28:34 +00:00
Aaron J. Seigo
1b6070d807 X-KDE-ParentApp is already registered, but X-Plasma-Language isn't
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690103
2007-07-20 03:25:33 +00:00
Aaron J. Seigo
11cba27eee * dissallow copying of PackageStructure as it has a dptr but no copy ctor
* Package::isValid() checks if the Package is valid, e.g. all required files and dirs are present
* add methods to PackageStructure which return just the required bits

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690102
2007-07-20 03:21:40 +00:00
Aaron J. Seigo
0e193f1924 rename the header to have a _p so the private status is obvious
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690101
2007-07-20 03:19:17 +00:00
Aaron J. Seigo
2c533e50cd move the package structures to libplasma so Applet can use them (and probably Theme in the future as well). don't install the header or export the class though as they aren't meant (at this time anyways?) to be used externally
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690100
2007-07-20 03:16:40 +00:00
Matt Broadstone
9dcd34a521 Fix icon drawing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690092
2007-07-20 02:19:42 +00:00
Aaron J. Seigo
be39ca07b1 add missing convenience headers (should we have these for the widgets too?)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690088
2007-07-20 02:09:51 +00:00
Aaron J. Seigo
9303303aa2 SVN_SILENT: TODO is done, remove it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690083
2007-07-20 02:01:56 +00:00
Andre Duffeck
40ae48275a The bounding rect is relative to the item's local coordinate system, not
the parent's one.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689841
2007-07-19 09:37:08 +00:00
Aaron J. Seigo
abd156ece2 * clarify several points in the api documentation. time to do a techbase tutorial!
* pass the exact match action into exec(). this allows runners the opportunity to store otherwise expensive information in the action and get it back easily

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689642
2007-07-18 19:09:41 +00:00
Laurent Montel
2c29040193 Make happy dashboard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689559
2007-07-18 15:15:14 +00:00
Laurent Montel
3bca317864 Make happy dashboard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689543
2007-07-18 14:36:42 +00:00
Aaron J. Seigo
469f8a3402 * add configxml to the build.
* move the headers section down to the install area

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689450
2007-07-18 09:34:18 +00:00
Aaron J. Seigo
681b82c0c0 a KConfigXT XML -> KConfigSkeleton class. should have all the most important items.
the qt sax stuff is -really- nice to work with; i wish i could say the same for KConfigSkeleton. i also wish i could find a way to use a templated function instead of all those nasty QLists and newFoo()s, but i got stuck on deletion in the ~Private. oh well, it works =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689449
2007-07-18 09:26:24 +00:00
Aaron J. Seigo
f253225fba SVN_SILENT: yes that monday has come and gone
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689388
2007-07-18 06:23:29 +00:00
Aaron J. Seigo
504810736b you know what, i really don't care about supporting animated svg's in Plasma::Svg as they break the "this is an image" concept that Plasma::Svg is built around and nobody is using them right now anyways
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689385
2007-07-18 06:21:48 +00:00