Plasma/PlasmoidScripting

From KDE Community Wiki
Revision as of 22:54, 16 January 2011 by Notmart (talk | contribs)

This page records currently outstanding TODOs for the Javascript and QML Plasmoid scripting support. This page deals with the Javascript only bindings or the QScriptEngine related bindings shared between both. Please feel free to tackle any of the items below at your convenience. For QML specific items, please see http://community.kde.org/Plasma/DeclarativeScripting

Tooltips

  • Bind in Plasma::ToolTipManager and Plasma::ToolTipContent

I/O Write

  • write methods that match the read I/O methods

HTTP

  • POST requests

Autocompletion

  • add methods to Plasma::LineEdit that map to the most important parts of KLineEdit's autocomplete API

QPixmap (and QImage)

  • ability to create from a QByteArray
  • ability to create from a remote URL

KLocale

  • readonly access for KLocale: units of measurement, time, currency etc

Access Control

  • Central mechanism for controlling individual plasmoid access to DataEngines, Services and Extensions
    • improve AppletAuthorization and use it in AppletInterface::dataEngine to restrict access
    • perhaps allow the Containment to provide some policy?
    • scriptable policies, so they are runtime?
  • Integrate the cryptographic signing GSoC branch
  • Control access to DataEngines based on advertised safety levels

QMenu

  • QMenu popups

Configuration UI

  • Expand/enrich config UI handling (Plasma::Widget and/or QML based?)