Plasma/DeclarativeScripting: Difference between revisions
Appearance
< Plasma
Created page with '== General scriptengine TODO == See http://community.kde.org/Plasma/PlasmoidScripting == QImage and QPixmap == * In progress: items for QImages and QPixmaps bindings == Drag an...' |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== General scriptengine TODO == | == General scriptengine TODO == | ||
See http://community.kde.org/Plasma/PlasmoidScripting | See http://community.kde.org/Plasma/PlasmoidScripting | ||
Except the Components sections, all "Item" described here refers to C++ based QGraphicsDeclarativeItem subclasses | |||
== KDELibs level bindings: libKDeclarative == | |||
QML ScriptEngine hack for all KDE QML using code | |||
Some of the ScriptEngine bindings, like QIcons and QUrls common as well | |||
== QImage and QPixmap == | == QImage and QPixmap == | ||
* In progress: | * In progress: Items for QImages and QPixmaps bindings | ||
== QIcon == | |||
* Item for QIcon painting | |||
== Drag and Drop == | == Drag and Drop == | ||
Line 14: | Line 22: | ||
== Config == | == Config == | ||
* The "device specific" version should have a QML config ui: for desktop use case too? | * The "device specific" version should have a QML config ui: for desktop use case too? | ||
== Partial C++ plasmoids == | |||
Some plasmoids will need some of the logic still in C++ (taskbar, systemtray...) two possible approaches: | |||
* C++ imports plugins | |||
* C++ Applets with a DeclarativeWidget in it (no access to the "plasmoid" object tough) |
Latest revision as of 22:59, 16 January 2011
General scriptengine TODO
See http://community.kde.org/Plasma/PlasmoidScripting Except the Components sections, all "Item" described here refers to C++ based QGraphicsDeclarativeItem subclasses
KDELibs level bindings: libKDeclarative
QML ScriptEngine hack for all KDE QML using code Some of the ScriptEngine bindings, like QIcons and QUrls common as well
QImage and QPixmap
- In progress: Items for QImages and QPixmaps bindings
QIcon
- Item for QIcon painting
Drag and Drop
- Items for basic dropEvents handling
- Item that can start drags too? (would require complete qdragevents in the engine?)
Components
- Components set to replace the standard Plasma widgets
Config
- The "device specific" version should have a QML config ui: for desktop use case too?
Partial C++ plasmoids
Some plasmoids will need some of the logic still in C++ (taskbar, systemtray...) two possible approaches:
- C++ imports plugins
- C++ Applets with a DeclarativeWidget in it (no access to the "plasmoid" object tough)