Archive:Development/Tutorials/Plasma (zh TW)

From KDE TechBase

Template:I18n/Language Navigation Bar (zh TW)

用 C++ 開發 Plasma

Plasmoids 入門
用 C++ 建立一個有 SVG 背景、圖示,和文字的 plasmoid
撰寫 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 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.
建立漫畫外掛程式
This guide shows you how to create a comic plugin for the comic plasmoid.
Wallpaper Tutorial 1
This tutorial shows you how to make a simple Hello World plasma wallpaper plugin.

用 JavaScript 開發 Plasma

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.

入門
Creating and running your first plasmoid in JavaScript
Getting Data
How to retreive data from a data engine
Now Playing
Slightly more advanced data engine usage: displaying what's currently playing
System Monitor
How to access systemmonitor data engine
Cheat Sheet
A cheat sheet, rather than a tutorial, of things to remember and watch out for when developing JavaScript plasmoids
API 參考
The Simplified JavaScript Plasmoid API. Useful for referencing what is available in the runtime and as a study aid for the tutorials above.

用 Python 開發 Plasma

入門
Creating and running your first plasmoid in Python
使用 widget
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

用 Ruby 開發 Plasma

入門
Creating and running your first plasmoid in Ruby
使用 widget
Introduction to using Plasma widgets
Writing a simple paste applet
A tutorial explaining how to set up a plasmoid, create a simple paste applet using widgets and add Plasma features seen elsewhere. Complete with tips for those who have never programmed before.

用 Web 技術(HTML/JS/CSS 等)開發 Plasma

入門
Creating and running your first plasmoid in HTML

主題開發

建立 Plasma 主題
Guide to creating your first Plasma theme

資源