(→Plasma and Creating QML Plasmoids: rename that) |
|||
| Line 1: | Line 1: | ||
{{Template:I18n/Language Navigation Bar|Development/Tutorials/Plasma}} | {{Template:I18n/Language Navigation Bar|Development/Tutorials/Plasma}} | ||
| − | == | + | == QML == |
Plasmoids that use the QML (aka QtQuick) declarative language to describe their user interface while having the logic of the applet, in JavaScript (QML is essentially a forge between CSS and JavaScript). | Plasmoids that use the QML (aka QtQuick) declarative language to describe their user interface while having the logic of the applet, in JavaScript (QML is essentially a forge between CSS and JavaScript). | ||
| Line 17: | Line 17: | ||
:''The QML Plasmoid API. Useful for referencing what is available in the runtime, what are the differences with the pure JavaScript ScriptEngine, the differences between pure Qt QML and Plasma, and as a study aid for the tutorials above.'' | :''The QML Plasmoid API. Useful for referencing what is available in the runtime, what are the differences with the pure JavaScript ScriptEngine, the differences between pure Qt QML and Plasma, and as a study aid for the tutorials above.'' | ||
| − | == | + | == C++ == |
;[[Development/Tutorials/Plasma/GettingStarted|Getting Started With Plasmoids]] | ;[[Development/Tutorials/Plasma/GettingStarted|Getting Started With Plasmoids]] | ||
| Line 60: | Line 60: | ||
:''This tutorial shows you how to make an application dashboard based on Plasma technologies.'' | :''This tutorial shows you how to make an application dashboard based on Plasma technologies.'' | ||
| − | == | + | == JavaScript == |
Plasma has built-in JavaScript (also known as ECMAScript, and often referred to as QtScript in the context of Qt) scripting support without requiring any external dependencies. | Plasma has built-in JavaScript (also known as ECMAScript, and often referred to as QtScript in the context of Qt) scripting support without requiring any external dependencies. | ||
| Line 94: | Line 94: | ||
:''This guide shows you how to create a comic plugin for the comic plasmoid.'' | :''This guide shows you how to create a comic plugin for the comic plasmoid.'' | ||
| − | == | + | == Python == |
;[[Development/Tutorials/Plasma/Python/GettingStarted|Getting Started]] | ;[[Development/Tutorials/Plasma/Python/GettingStarted|Getting Started]] | ||
| Line 114: | Line 114: | ||
:''Writing a simple krunner plugin in python'' | :''Writing a simple krunner plugin in python'' | ||
| − | == | + | == Ruby == |
;[[Development/Tutorials/Plasma/Ruby/GettingStarted|Getting Started]] | ;[[Development/Tutorials/Plasma/Ruby/GettingStarted|Getting Started]] | ||
:''Creating and running your first plasmoid in Ruby'' | :''Creating and running your first plasmoid in Ruby'' | ||
| Line 130: | Line 130: | ||
:''Follow a fellow student as he asks around about SVG usage and explains why the code examples work. This is a wiki so feel free to add your own insights until this tutorial can be considered complete.'' | :''Follow a fellow student as he asks around about SVG usage and explains why the code examples work. This is a wiki so feel free to add your own insights until this tutorial can be considered complete.'' | ||
| − | == | + | == Web Technologies (HTML/JS/CSS) == |
;[[Development/Tutorials/Plasma/Web/GettingStarted|Getting Started]] | ;[[Development/Tutorials/Plasma/Web/GettingStarted|Getting Started]] | ||
:''Creating and running your first plasmoid in HTML'' | :''Creating and running your first plasmoid in HTML'' | ||
| − | == Plasma integration == | + | == Plasma integration for applications == |
;[[Development/Tutorials/Solid_Device_Actions|Creating a Device Notifier action]] | ;[[Development/Tutorials/Solid_Device_Actions|Creating a Device Notifier action]] | ||
:''When your application is interested in removable hardware'' | :''When your application is interested in removable hardware'' | ||
| − | == | + | == Themes == |
;[[Development/Tutorials/Plasma/Theme|Creating a Plasma Theme Quickstart]] | ;[[Development/Tutorials/Plasma/Theme|Creating a Plasma Theme Quickstart]] | ||
| Line 147: | Line 147: | ||
:''A comprehensive guide to the contents of a Plasma SVG theme, including configuration options, wallpapers, on-disk layout, names of all standard SVG files and every element in them.'' | :''A comprehensive guide to the contents of a Plasma SVG theme, including configuration options, wallpapers, on-disk layout, names of all standard SVG files and every element in them.'' | ||
| − | == Activity | + | == Activity Templates == |
;[[KDE_System_Administration/PlasmaDesktopScripting#Activity_templates|Creating a Plasma Activity Template Quickstart]] | ;[[KDE_System_Administration/PlasmaDesktopScripting#Activity_templates|Creating a Plasma Activity Template Quickstart]] | ||
| Line 158: | Line 158: | ||
* [http://techbase.kde.org/Projects/Plasma/Eclipse_Integration Plasma Eclipse Integration] | * [http://techbase.kde.org/Projects/Plasma/Eclipse_Integration Plasma Eclipse Integration] | ||
* The [https://mail.kde.org/mailman/listinfo/plasma-devel plasma-devel mailing list] and #plasma on IRC (irc.freenode.org). | * The [https://mail.kde.org/mailman/listinfo/plasma-devel plasma-devel mailing list] and #plasma on IRC (irc.freenode.org). | ||
| − | |||
| − | |||
| − | |||
Contents |
Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
Plasmoids that use the QML (aka QtQuick) declarative language to describe their user interface while having the logic of the applet, in JavaScript (QML is essentially a forge between CSS and JavaScript).
This is now the recommended method of creating plasmoids, where possible. The plasmoid, or applet serves as the visualization for the data which a Plasma::DataEngine contains.
It allows easily the declaring of an interface and to easily create things like ListViews with native Plasma theming. It is what Plasma is leaning the most towards, especially in the Mobile, MediaCenter and KDM shells.
Plasma has built-in JavaScript (also known as ECMAScript, and often referred to as QtScript in the context of Qt) scripting support without requiring any external dependencies.