Aaron Eisenberg
8674306992
Added the ability to lock all Applets and the Desktop.
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671176
2007-06-04 00:25:44 +00:00
Aaron J. Seigo
80fae8f7a3
use krun instead of qprocess and make sure that we don't block our own process. you can see this happen in the second screencast, actually, and it's really lame ;)
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671108
2007-06-03 19:59:24 +00:00
Aaron J. Seigo
452816cec8
don't re-use dataEngine in loadDataEngine so as to keep the api simple.
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670910
2007-06-02 22:57:55 +00:00
Aaron J. Seigo
591025b736
whoops; returning things is Good(tm)
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670906
2007-06-02 22:39:23 +00:00
Aaron J. Seigo
2638b6031b
* introduce a NullEngine
...
* return an instance of the NullEngine on engine loading failure; this way applets don't have to test for engine existence and can just assume something gets returned
* DataEngine::isValid() in case someone really cares to know whether they have a non-functional engine (e.g. the NullEngine)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670900
2007-06-02 22:23:26 +00:00
Aaron J. Seigo
bbaebc6b1b
move workspace/plasma/lib to workspace/lib/plasma so that we can do:
...
#include <plasma/foo.h>
in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.
also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
2007-06-02 17:29:39 +00:00
Aaron J. Seigo
3471f8e078
remove the applet from the applets list in the corona on destruction
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670628
2007-06-02 07:51:11 +00:00
Aaron Eisenberg
59641c640e
Added the ability to close widgets though the right mouse button menu.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670621
2007-06-02 07:30:16 +00:00
Script Kiddy
0f57b68841
SVN_SILENT made messages (.desktop file, second try)
...
svn path=/trunk/KDE/kdebase/runtime/kcert/; revision=670590
2007-06-02 05:22:54 +00:00
Aaron J. Seigo
df56575ef4
add the ability to get at the max size hint constraint
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670578
2007-06-02 04:47:09 +00:00
Aaron J. Seigo
5cd8761ab2
form factor changing
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670545
2007-06-01 22:59:58 +00:00
Aaron J. Seigo
357db36e7f
prevent crash when this gets called too early
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670543
2007-06-01 22:58:48 +00:00
Aaron J. Seigo
3ccb56568f
move the icon demo to RootWidget so we have all our demos there =)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670534
2007-06-01 22:10:12 +00:00
Aaron J. Seigo
5a7134ba21
a little control in the toolbar to switch form factors
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670533
2007-06-01 22:06:19 +00:00
Alexander Wiedenbruch
0de27801c9
Add KarambaManager for easier loading of SuperKaramba themes
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670527
2007-06-01 21:32:03 +00:00
Robert Knight
7815a31298
Correct typo
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670293
2007-05-31 23:40:39 +00:00
Aaron J. Seigo
7212ae5b5f
applets are no aware of their constraints. the simple solution is often the best one.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670285
2007-05-31 22:40:38 +00:00
Aaron J. Seigo
2c5f8a75bf
move Corona to libplasma where others can enjoy it and where we can use it from Applet
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670279
2007-05-31 22:27:33 +00:00
Aaron J. Seigo
002f01a64a
add a default param for parent as per all the other widgets
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670268
2007-05-31 22:16:30 +00:00
Matt Williams
f93b9f7396
EBN Krazy header fixes
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669864
2007-05-30 16:47:36 +00:00
Matt Williams
d0bf0c8c09
Install the plasma_export header
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669833
2007-05-30 14:34:12 +00:00
Aaron J. Seigo
8c8bf30c62
make it really clear what i was thinking, as apparently people can't see inside my head. ;)
...
"what do you mean you can't read my mind?"
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669648
2007-05-29 22:23:37 +00:00
Aaron J. Seigo
77307ba1dd
icon buttons generally work now. huzzah. you can theme them with iconbutton.svg with the following elements, all of which are optional:
...
- background
- background-hover
- background-pressed
- foreground
- foregound-hover
- foreground-pressed
what each does is left as an exercise for the reader ;)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669620
2007-05-29 20:37:21 +00:00
Aaron J. Seigo
c321d2f03e
introduce ContentType; this lets us have svgs which are a single image which may be made up of a number of elements (in which case, the elements need to be scaled from the size on the svg when painted to have the right size) or made up of a number of discreet images each of which is already the right size (think: a deck of cards)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669616
2007-05-29 20:27:51 +00:00
Aaron J. Seigo
429d8fd708
apparently i missed this entire directory when introducing PLASMA_EXPORT. but i got 'em this time! ;)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669395
2007-05-29 08:02:01 +00:00
Aaron J. Seigo
3f2e92b6ae
add the start of an icon button. the stupid number of svg's needs to be wrapped into two with svg elements for them, geometry isn't managed right (e.g. we ignore text width) etc.. but the basics exist. should be usable by hacking's end tomorrow, and then we can play with using them to pop menus and expanders. i'll get to Phase yet ;)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669394
2007-05-29 07:59:50 +00:00
Aaron J. Seigo
0df727c4d0
this seems to make it works a wee bit better ;) still not perfect
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669392
2007-05-29 07:58:05 +00:00
Aaron J. Seigo
324d7a4be9
better API docs so there is a bit less confusion over this
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669391
2007-05-29 07:56:58 +00:00
Aaron J. Seigo
498ce9d548
attempt to share renderers. this should make quite a difference, one would hope. needs more testing.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669390
2007-05-29 07:56:21 +00:00
Aaron J. Seigo
c7b7b5b8ca
proper export
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669388
2007-05-29 07:54:41 +00:00
Script Kiddy
cb9218e89d
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/kcontrol/crypto/; revision=669344
2007-05-29 05:15:16 +00:00
Matt Williams
f6849f9d23
Make the SVG render at the size specified by Svg::size() instead of ignoring it.
...
Here you go ruphy, you can now implement applet resizing to your heart's content :)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669300
2007-05-28 23:47:41 +00:00
Matt Williams
c2b3db02e8
Fix the pixmap drawing of the SVG so that it always draws the whole element. The size it draws it at is given by the QRectF still.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669225
2007-05-28 20:09:50 +00:00
Aaron J. Seigo
6393ddd3ad
make lineedit a LayoutItem. seems to basically work, though i don't think it is quite perfect yet =)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668932
2007-05-28 05:52:56 +00:00
Aaron J. Seigo
3c690fea84
* add API docu to the methods i added
...
* add a resetLayout() so layouts can release LayoutItems on deletion, avoiding dangling pointers and possible crashes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668931
2007-05-28 05:52:05 +00:00
Aaron J. Seigo
c300ff48bc
keep track of what layout we belong to so that we can remove ourselves from the layout when we exit; prevents crashes when items are added then deleted later. since we aren't guaranteed a QObject, we can't do the obvious thing (e.g. listen for the destroyed() signal)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668928
2007-05-28 05:46:24 +00:00
Aaron J. Seigo
10dd76c794
* when connecting sources, invoke the updated method so they get the current values immediately
...
* add the ability to limit the number of data sources in an engine; least used items drop off. the algorithm for this is pretty simplistic and not overly scalable, but that's something that can be fixed when we run into problems (e.g. setLimit(1000) or something silly =)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668927
2007-05-28 05:43:54 +00:00
Aaron J. Seigo
3d51733018
* more api documentation
...
* changes to reflect api movement
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668671
2007-05-27 08:01:31 +00:00
Aaron J. Seigo
3a07e8570a
* api docu
...
* remove the name methods which just wrapped the setObjectName stuff anyways
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668670
2007-05-27 08:00:46 +00:00
Aaron J. Seigo
ae5c3a8c8c
take Interface out of the build
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668669
2007-05-27 07:59:56 +00:00
Aaron J. Seigo
1835680cf3
* get rid of Interface hack now that DataEngineManager is in libplasma
...
* provide a singleton accessor to DataEngineManager
* port code to API changes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668668
2007-05-27 07:59:17 +00:00
Riccardo Iaconelli
4090084e34
Plasmoids are now configurable! =)
...
Also cleaned out a bit the code, and improved the painting algorithm. Removed the harcoded values for adjusting the hands, now they're calculated runtime. Still have to make it more flexible, permitting to the artist to specify his center for the hand.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668557
2007-05-26 19:01:32 +00:00
Aaron J. Seigo
87c431393a
* AppletConstraint -> FormFactor, since it may not only be applicable to applets and form factor is simply more common verbology
...
* add a FormFactor for MediaCenter
* ScreenEdge -> Location, as it isn't always an edge
* document enum values
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668310
2007-05-25 22:51:23 +00:00
Aaron J. Seigo
a62bd49c9a
only expose a KConfigGroup to applet subclasses to encourage correctness and allow for future flexibility.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668085
2007-05-25 02:36:22 +00:00
Aaron J. Seigo
8288d58356
DataVisualization remained anemic: it was only offering a single SLOT, and it was pure virtual at that. to keep the inheritance tree sane, it has been removed.
...
Widget remains problematic as it uses QGraphicsItem API, but it needs to be subclassed by items that are already QGraphicsItems. ugh.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668083
2007-05-25 02:27:33 +00:00
Matias Valdenegro Toro
449a7e6d13
Add some basic apidox
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668074
2007-05-25 01:27:27 +00:00
Matt Williams
e809f22cfd
Make this new function actually do something :)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668037
2007-05-24 21:17:55 +00:00
Aaron J. Seigo
4d4f9e0140
convenience method for loading applets via a KPluginInfo
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668033
2007-05-24 20:51:59 +00:00
Aaron J. Seigo
1f797b162f
* applet loading
...
* make the library names appear in descending order of specificity (plasma_kind_instance)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668019
2007-05-24 20:01:12 +00:00
Aaron J. Seigo
14a1013a16
* we don't need our own Dict typedef here
...
* errorCode is no longer used
* get the debug output in line with similar msgs in plasma
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668017
2007-05-24 19:57:31 +00:00