Plasma/PlasmoidScripting

From KDE Community Wiki

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?)

Porting Plasmoids to QML

This part contains the current state of plasmoids that are being transformed to QML. Developers please update the status of the same here.

Also, feel free to add any that you may be porting, if they aren't listed.

Desktop applets

  • Kick off
  • Pager
  • Tasks
  • Trash
  • Window List

Generic applets

  • Activity Bar
  • Analog Clock
    • Status: Ongoing
    • Developer: Viranch Mehta
    • Source: "plasma/viranch/analogclock" branch of kde-workspace
  • Battery
    • Status: Almost done, needs reviewing, merging and testing
    • Developer: Viranch Mehta (I'll merge it after Marco/Aaron reviews it)
    • Source: "plasma/viranch/powermanagementservices" branch of kde-workspace
  • Calendar
  • Device Notifier
    • Status: Done, merged. Needs bug fixing.
    • Developer: Viranch Mehta
  • Digital Clock
  • Icon
  • Konsole session profile applet
    • Status: Should be mostly done; still missing kcm ui, but ready for merge.
    • Developer: Shaun Reich
    • Source: "plasma/sreich/declarativesessionapplets" branch of kde-workspace
  • Konqueror session profile applet
    • Status: Should be mostly done; still missing kcm ui, but ready for merge.
    • Developer: Shaun Reich
    • Source: "plasma/sreich/declarativesessionapplets" branch of kde-workspace
  • Kate session profile applet
    • Status: 63.29% completed; waiting for other session applets to get 110% done.
    • Developer: Shaun Reich
    • Source: "plasma/sreich/declarative-kate-applet" branch of kate
  • Lock Logout
    • Status: Almost done, needs some fixing, reviewing and testing before can be merged
    • Developer: Viranch Mehta
    • Source: "plasma/viranch/powermanagementservices" branch of kde-workspace
  • Notifications
  • Now Playing?
  • Panel Spacer
  • Quick Launch
  • RSS Now
  • News
  • System Monitor
  • System Tray
  • Web Browser