Commit Graph

38 Commits

Author SHA1 Message Date
Marco Martin
0b24d969fe show an error message on QML parse error
the error message is QML itself, coming from the Corona package (so there is the possibility that even the error message can't parse, in this case we have no way to show an error)

the user of the qml plasmoid still can't set a message on his own (setFailedToLaunch will probably become scriptengine only)
2013-02-12 15:57:42 +01:00
Marco Martin
c9d9ccc857 corona has a package() property 2013-02-12 15:57:42 +01:00
Marco Martin
9390decfb0 test the busy property in the scriptengine 2013-02-12 14:07:13 +01:00
Marco Martin
39151c048f Applet::name() -> Applet::title()
since the applet user visible name/title can be set by the user, is not to be confused with the metadata coming from KPluginInfo
2013-02-12 11:30:25 +01:00
Script Kiddy
011bb72e68 SVN_SILENT made messages (.desktop file) 2013-02-09 09:07:14 +01:00
Marco Martin
9ee93a0661 make AppletInterface the root graphic object
AppletInterface is a QQuickItem ans
containments will receive pointers to AppletInterface as applets,
so will be able to have a limited access to it.
as an example of it working the button in the example applet enables/disables background hints

I'm still not 100% happy about it, we should see exactly what it happens when the containment deletes the graphic object.
2013-02-08 16:08:06 +01:00
Marco Martin
b4bf8da259 try to use ${KDE4_KDECORE_LIBS} in libplasma 2013-02-08 12:00:33 +01:00
Marco Martin
51cf41c413 remove some link libraries 2013-02-08 11:45:18 +01:00
Marco Martin
4e8f41c109 port away some kstandarddirs 2013-02-08 11:41:31 +01:00
Script Kiddy
37b390e6b0 SVN_SILENT made messages (.desktop file) 2013-02-08 08:31:19 +01:00
Marco Martin
dda900cbad signal for backgroundhints
add a button to turn on/off background, will be needed to test containments features
2013-02-07 13:04:52 +01:00
Script Kiddy
89286e1b1c SVN_SILENT made messages (.desktop file) 2013-02-07 08:59:55 +01:00
Marco Martin
c18eb599fe visualize the toolbox 2013-02-06 14:20:24 +01:00
Marco Martin
ec59fd611a add packages for a test applet and a test toolbox 2013-02-06 14:07:08 +01:00
Marco Martin
d2bc77be27 toolBoxWidget -> toolBoxObject 2013-02-06 14:06:24 +01:00
Marco Martin
965f6715db correctly link everything 2013-02-06 11:15:27 +01:00
Script Kiddy
4ad4495250 SVN_SILENT made messages (.desktop file) 2013-02-06 08:20:34 +01:00
Marco Martin
492bd13b00 slight progress in making the repo link again 2013-02-05 21:37:42 +01:00
Script Kiddy
984dc478ab SVN_SILENT made messages (.desktop file) 2013-02-05 16:58:16 +01:00
Marco Martin
584ccf15f4 don't delay applet init
perfectly fixes layout restore.
all the applet delayed init mechanism will be removed
2013-02-05 15:53:53 +01:00
Marco Martin
48561504c8 remove delayedContainmentInit 2013-02-05 14:55:40 +01:00
Marco Martin
7f654acfd2 replace graphicObject with a dynamic property 2013-02-05 13:15:32 +01:00
Marco Martin
2734ceaebb reparent applet graphicobject to containment graphicobject 2013-02-05 11:59:14 +01:00
Marco Martin
b5a65921d0 get rid of the ugly async syncgraphicObject() 2013-02-05 11:03:40 +01:00
Marco Martin
b4669ab783 make the plasmoid object accessible 2013-02-04 20:28:41 +01:00
Marco Martin
feec1a5b40 iget rid of svg 2013-02-04 19:48:50 +01:00
Marco Martin
7912da6072 actually show the containment's qml 2013-02-04 19:47:35 +01:00
Marco Martin
624817e9f3 make the scriptengine successfully load 2013-02-04 18:02:03 +01:00
Marco Martin
fef1e3f0e7 use installPackage 2013-02-04 16:48:37 +01:00
Marco Martin
274e4372c5 add a test containment 2013-02-04 16:43:55 +01:00
Script Kiddy
81449003bb SVN_SILENT made messages (.desktop file) 2013-02-04 09:06:15 +01:00
Script Kiddy
2e8ba86356 SVN_SILENT made messages (.desktop file) 2013-02-03 08:58:05 +01:00
Sebastian Kügler
c416cc547d Add an SvgItem and an IconItem, the former even works. 2013-02-02 04:44:07 +01:00
Sebastian Kügler
22b217228f Don't build svg.cpp, also no need to link QWidget :) 2013-02-02 04:05:17 +01:00
Sebastian Kügler
790ba6f3c9 Use FrameSvgItem from PlasmaCore
The first Plasma import works, we celebrate with gratuitous animations
and blue instead of red, which is slightly less confronting.
2013-02-02 03:42:20 +01:00
Marco Martin
09b1663a34 successfully load the package 2013-02-01 13:20:20 +01:00
Marco Martin
79c0e7a73d pput the sample qml file in a package 2013-02-01 11:50:29 +01:00
Marco Martin
bec0cd4639 move the test shell in shell/ 2013-01-31 11:36:37 +01:00