Development/Tutorials/Plasma4: Difference between revisions

From KDE TechBase
(Adding QtScript tutorials)
No edit summary
Line 67: Line 67:




Resources:
== Resources ==


* http://techbase.kde.org/Projects/Plasma
* http://techbase.kde.org/Projects/Plasma
* [http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/index.html Plasma api documentation]
* [http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/index.html Plasma api documentation]
* 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).
TODO:
* '''tutorials for other languages''' (JavaScript, Ruby, etc...)

Revision as of 14:06, 17 May 2009


Development/Tutorials/Plasma


Plasma Programming with C++

Getting Started With Plasmoids
Creating your first plasmoid in C++ with SVG background, icon and text
Writing a DataEngine
DataEngines provide a standardized interface to various data sources for visualizations to use. Learn what a DataEngine is and how to write one of your own.
Video tutorial
Video and slides from a presentation on libplasma (link to Slides below)
Link To Slides For The Above Video
Slides For The Presentation Creating User Interfaces With Plasma by Aaron Seigo
How to use extenders in your Plasmoid
A simple example that shows how to use extenders in a Plasmoid.
Creating Runners
Runners are plugins that provide action-based search functionality in the Plasma workspace "run command" dialog. These plugins can be used by any application that links again libplasma.
Creating Comic Plugins
This guide shows you how to create a comic plugin for the comic plasmoid.

Plasma Programming with Python

Getting Started
Creating and running your first plasmoid in Python
Using widgets
Introduction to using Plasma widgets
Using DataEngines
How to use DataEngines from a plasmoid
Writing DataEngines
How to write your own Plasma DataEngine
Writing a Plasmoid in Python
Writing a simple battery graph in python

Plasma Programming with Ruby

Getting Started
Creating and running your first plasmoid in Ruby
Using widgets
Introduction to using Plasma widgets
Writing a simple paste applet
A tutorial explaining how to write a simple paste applet using widgets

Plasma Programming with QtScript

QtScript is Qt's ECMAScript scripting engine (ECMAScript is the language JavaScript and JScript are based on). You get it for free in Plasma without any external dependencies (unlike Python or Ruby).

Getting Started
Creating and running your first plasmoid in QtScript
Getting data
How to retreive data from a data engine

Theme development

Creating a Plasma Theme
Guide to creating your first Plasma theme


Resources