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
5562c65127
expose completeInitialization() method
2013-02-05 10:50:18 +01:00
Marco Martin
b4669ab783
make the plasmoid object accessible
2013-02-04 20:28:41 +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
60b37cff34
reenable build of declarative scriptengine
...
just builds, is still pretty broken
2013-02-04 16:10:53 +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
Script Kiddy
5b888cd12e
SVN_SILENT made messages (.desktop file)
2013-02-02 09:35:40 +01:00
Marco Martin
8e7a995797
connect conditionally to minimumWidthChanged
...
this removes warnings: not all declarative items will have this signals
2013-01-11 16:02:01 +01:00
Aleix Pol
de51d8e4d2
Output some kind of warning in case the writeConfig wasn't executed
...
It helps find what's going on when debugging and reduces magic.
CCMAIL: aseigo@kde.org
2013-01-10 05:02:55 +01:00
Aleix Pol
cff944bfb8
Split messages with \n
...
This way the front-end won't receive a big string but every error in a
different line, so it improves the readability of the errors.
REVIEW: 108124
2013-01-10 05:02:55 +01:00
Script Kiddy
fe57fb7027
SVN_SILENT made messages (.desktop file)
2013-01-08 22:36:24 +01:00
Script Kiddy
815c83a1a6
SVN_SILENT made messages (.desktop file)
2013-01-03 07:38:48 +01:00
Marco Martin
2c6d44eb23
reparent the compact representation
...
leak--
2012-12-28 20:40:34 +01:00
Script Kiddy
fd00bbdafa
SVN_SILENT made messages (.desktop file)
2012-12-24 09:03:26 +01:00
Script Kiddy
f31291bf5e
SVN_SILENT made messages (.desktop file)
2012-12-23 07:59:29 +01:00
Marco Martin
cafb39f1ba
typo
2012-11-23 18:28:01 +01:00
Marco Martin
da4e133c6d
Make enum values accessible as plasmoid.Planar etc
...
Any qml object that will be calles as an enum value, like Planar {} Application{}
etc will make enums inaccessible.
maintain them global, for retrocompatibility, but register them also under plasmoid
2012-11-23 18:26:02 +01:00
Marco Martin
edad4c4043
add Application formFactor
2012-11-23 17:46:52 +01:00
Sebastian Kügler
ec6200fd0e
Second part of declarative toolbox bindings
...
This one adds the ToolBoxProxy class, belongs to
3f5d7444f8a3373befdceffca79744c82899d4e1
REVIEW:107232
2012-11-07 20:52:14 +01:00
Sebastian Kügler
d9612651cb
ToolBox bindings for declarative containments
...
This adds the necessary bits, actions handling, showing / hiding of
toolbox and a hooks for config interface and add widgets.
The interesting bits:
Toolbox separate on the scene
For declarative containments, we add a declarativewidget on top of the
view which loads the "org.kde.toolbox" package. The toolbox can differ
per platform, layout of toolbox and containment can not "leak" into each
other.
ToolBox import
The most important and interesting bit is the list of actions the
ToolBox exposes, it's collected from corona, containment. The latter is
actually problematic, since we don't get access to the actions
internally provided by Containment
(ContainmentPrivate::addDefaultActions).
Containment::setToolBox(AbstractToolBox) being protected, we cannot
register our declarative ToolBoxProxy implementation to the containment,
so we have to wire up settings and addwidgets separately. Sorting of the
actions is "random", and expected to be done by the QML toolbox
implementation, based on objectName strings.
REVIEW:107232
2012-11-07 17:21:26 +01:00
Sebastian Kügler
a8ba890850
Fix screenChanged in javascript appletinterface signal and forward it
...
Signal/slot signatures were wrong. Correctly forward the screenChanged
signal. This removes the following warning for me when running a QML
containment in plasmoidviewer:
Object::connect: No such slot ContainmentInterface::screenChanged() in
/home/sebas/kdesvn/src/kde/kde-runtime/plasma/scriptengines/javascript/plasmoid/appletinterface.cpp:605
REVIEW:106936
2012-10-25 14:54:05 +02:00
Sebastian Kügler
d6afd5b91a
AppletContainer binding for containments
...
This adds a class to manipulate applets in more detail in context of
containments. The type will only be available from Containments, not
Applets or PopupApplets.
This binds the necessary functionality of Applets to build fully
features containments. The code has been moved from MobileComponents,
untangling another piece there and putting the functionality where
it belongs, into the specific component type bindings to allow this
functionality also outside of plasma-mobile and further reduce the
delta between the shell implementations.
REVIEW:106817
2012-10-24 22:52:01 +02:00
Marco Martin
18c1cc8dab
popupShowing property
2012-09-20 17:07:07 +02:00
Marco Martin
279d3727a5
reenable QPoint bindings
2012-09-18 12:02:27 +02:00
Marco Martin
5ec3f33717
fix build
2012-09-13 13:33:55 +02:00
Marco Martin
925e330807
fix invoke of context actions in qml plasmoids
2012-09-13 13:29:05 +02:00
Marco Martin
e5316bf6bc
reenable KUrl bindings
2012-09-04 14:12:09 +02:00
Marco Martin
3d48a89111
create the compactRepr in the right context
2012-09-04 11:58:23 +02:00
Marco Martin
c36c2f88aa
support for tooltips in collapsed popupapplets
2012-08-22 12:03:54 +02:00
Marco Martin
ef4c4b47d1
emit the location, formfactor and context signals
2012-08-09 15:43:30 +02:00
Script Kiddy
c44c58a715
SVN_SILENT made messages (.desktop file)
2012-08-07 18:33:46 +02:00
Marco Martin
8d4c76ac1f
add binding for horizontal and vertical size policy of the plasmoid
2012-08-01 20:39:06 +02:00
Script Kiddy
5e7cd1bbd0
SVN_SILENT made messages (.desktop file)
2012-06-07 11:53:06 +02:00
Marco Martin
2084d29735
support minimumSize in the compactRepresentation
2012-06-04 22:45:11 +02:00
Alex Merry
d6a96e32ee
Fix a potential crash
...
This was clearly supposed to be a return statement.
2012-05-21 14:00:51 +01:00
Script Kiddy
1550c9c05f
SVN_SILENT made messages (.desktop file)
2012-05-10 09:47:43 +02:00
Alex Merry
7737bb48ba
Register non-gui types properly for declarative applets
...
It was not previously possible to use KConfig etc. from declarative
applets, because the relevant qScriptRegisterMetaType functions were not
called. This fixes that by calling registerNonGuiMetaTypes from
registerSimpleAppletMetaTypes.
2012-04-27 19:13:54 +01:00
Script Kiddy
b1e8b8bb5c
SVN_SILENT made messages (.desktop file)
2012-04-14 10:45:01 +02:00
Stephen Kelly
73dc4f9a0c
Simplify QtGui module includes.
2012-04-10 00:22:13 +02:00
Marco Martin
c67938106b
bind plasmoid.rootItem
2012-03-07 15:55:56 +01:00
Marco Martin
1471d27cfa
compactRepresentation property
...
qml popupapplets that export this property to the root item (a component) will use that instead of an icon
2012-03-01 22:49:34 +01:00
Script Kiddy
05bb92162e
SVN_SILENT made messages (.desktop file)
2012-01-10 15:53:16 +01:00
Script Kiddy
a0ddf4038f
SVN_SILENT made messages (.desktop file)
2012-01-03 16:55:42 +01:00
Script Kiddy
88f5a3ea1e
SVN_SILENT made messages (.desktop file)
2011-12-29 10:48:03 +01:00
Script Kiddy
12f1725fc8
SVN_SILENT made messages (.desktop file)
2011-12-21 09:55:19 +01:00
Script Kiddy
12754aa592
SVN_SILENT made messages (.desktop file)
2011-12-17 09:48:37 +01:00
Script Kiddy
a3ec1abd57
SVN_SILENT made messages (.desktop file)
2011-12-14 08:37:50 +01:00
Script Kiddy
0148bfea79
SVN_SILENT made messages (.desktop file)
2011-12-13 15:54:16 +01:00
Aaron Seigo
08fae507f1
make painters on random pixmaps work; you still need to take of things like calling end()
...
BUG:266018
2011-12-08 17:54:34 +01:00
Aaron Seigo
2435f1cc6a
fix video tuortial widget
2011-12-05 22:40:16 +01:00
Jaime Torres
461d2562ce
use the returns in the #ifndef
...
If the two returns in the #ifndef are not supposed to be used,
please revert and add a comment or remove them.
2011-12-04 13:23:56 +01:00
Jacopo De Simoi
24639f0d7a
Add the popupEvent signal to appletinterface
2011-11-24 18:04:43 +01:00
Marco Martin
67ab75c0fd
the catalog is called "plasma_applet_"+pluginname
2011-11-02 14:48:41 +01:00
Marco Martin
f6f9c26fdd
support popup with timeout
2011-11-01 21:30:45 +01:00
Aaron Seigo
8d108352d2
correct the boolean test
2011-10-28 11:43:33 +02:00
Aaron Seigo
08ac59edd7
bump the API #
2011-10-27 16:44:55 +02:00
Aaron Seigo
1e2e094fdd
allow adding separators to the context menu
2011-10-27 16:44:55 +02:00
Marco Martin
84de302083
fix containment margins
...
signal availableScreenRegionChanged() too
2011-10-01 15:14:43 +02:00
Aaron Seigo
136ea88ec4
preserve order of actions
2011-09-28 08:50:43 +02:00
Script Kiddy
d5d0d97441
SVN_SILENT made messages (.desktop file)
2011-09-26 09:43:17 +02:00
Script Kiddy
a033ffbf93
SVN_SILENT made messages (.desktop file)
2011-09-23 09:08:53 +02:00
Aaron Seigo
7497948a2b
if the applet has failed, then don't return actions for it
2011-09-22 22:44:17 +02:00
Aaron Seigo
691f590664
don't crash on failed launch
2011-09-22 22:44:17 +02:00
Aaron Seigo
a810cd2ab0
don't crash when the applet fails to init
2011-09-22 22:44:16 +02:00
Script Kiddy
bcb05dfc9b
SVN_SILENT made messages (.desktop file)
2011-09-15 09:06:58 +02:00
Script Kiddy
7e461fd166
SVN_SILENT made messages (.desktop file)
2011-09-09 09:21:00 +02:00
Script Kiddy
834eb7c293
SVN_SILENT made messages (.desktop file)
2011-09-08 09:03:17 +02:00
Aaron Seigo
115408d521
unbreak service usage
2011-08-20 10:15:09 +02:00
Script Kiddy
471fbd1d30
SVN_SILENT made messages (.desktop file)
2011-07-12 10:36:11 +02:00
Marco Martin
756b3f1685
crash-- move after first call to applet()
2011-07-11 22:44:05 +02:00
Marco Martin
1d5ec8c2e0
insert a catalog named as the plugin name
2011-07-11 21:24:26 +02:00
Script Kiddy
b30f688938
SVN_SILENT made messages (.desktop file)
2011-07-11 10:55:46 +02:00
Script Kiddy
b615e3f5fa
SVN_SILENT made messages (.desktop file)
2011-07-10 09:21:33 +02:00
Aaron Seigo
9188aeab5a
fix localIO API calls
2011-07-07 16:29:57 +02:00
Script Kiddy
ab013bca0b
SVN_SILENT made messages (.desktop file)
2011-07-06 10:41:04 +02:00
Script Kiddy
25292578ca
SVN_SILENT made messages (.desktop file)
2011-06-21 11:01:05 +02:00
Script Kiddy
25c6e9800a
SVN_SILENT made messages (.desktop file)
2011-06-19 09:39:29 +02:00
Aaron Seigo
e8258b9131
delete the NAM; it isn't deleted by the QDeclarativeEngine
2011-06-15 14:18:43 +02:00
Dawit Alemayehu
5c16717f8a
Removed set but unused variable to fix -Wunused-but-set-variable warnings.
2011-06-10 13:13:20 -04:00
Marco Martin
d2efdc34ee
restore ability to register contextual actions
2011-06-09 14:31:35 +02:00
Dawit Alemayehu
5199d71e54
GIT_SILENT: Shut the compiler up about unused variables.
2011-06-08 13:53:46 -04:00
Aaron Seigo
d3610438c1
fix compile; nasty little hack to support QMap<QString, QString>
2011-06-04 16:24:39 +02:00
Anne-Marie Mahfouf
b52fe46573
fix build, duplicated from libplasma
2011-06-04 09:10:59 +02:00
Script Kiddy
84bb43942d
SVN_SILENT made messages (.desktop file)
2011-05-29 10:09:07 +02:00
Aaron Seigo
c02557ffa6
moves the registration helper methods for io related extensions into extension_io.cpp
2011-05-27 11:35:56 +02:00
Aaron Seigo
6924341329
tidy up the sources and put the app finding code from desktopscripting here
...
* better name for jsscriptenv (it's about adding gui, as declarative is about add qml)
* break extension code out to their own sources for clarity
2011-05-27 11:35:56 +02:00
Script Kiddy
3aeded5802
SVN_SILENT made messages (.desktop file)
2011-05-27 09:00:54 +02:00
Script Kiddy
9003c18a0e
SVN_SILENT made messages (.desktop file)
2011-05-20 09:10:19 +02:00
Marco Martin
ff47808ef2
check against a null qscriptengine
2011-05-17 16:41:42 +02:00
Script Kiddy
a79fea0eb8
SVN_SILENT made messages (.desktop file)
2011-05-17 10:48:38 +02:00
Script Kiddy
cb9bd829c3
SVN_SILENT made messages (.desktop file)
2011-05-11 09:16:16 +02:00
Marco Martin
4a906d4ed4
dataengine bindings are in DeclarativeWidget now
2011-04-30 14:37:43 +02:00
Script Kiddy
fecc197de0
SVN_SILENT made messages (.desktop file)
2011-04-29 09:32:15 +02:00
Marco Martin
388d61203f
compatible signature in connect
2011-04-14 22:49:13 +02:00
Marco Martin
469f2076dd
reorder together the other Plasma enums
2011-04-14 19:50:57 +02:00
Marco Martin
06f753173a
n Applet the signal is newStatus
2011-04-14 17:08:11 +02:00
Marco Martin
2fc39865e3
forward the statusChanged() signal
2011-04-14 16:46:13 +02:00