Archive:Development/Tutorials/Plasma (zh CN)

From KDE TechBase
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


C++开发Plasma

启动Plasmoids
用C++创建一个有SVG背景,图标,和文字的plasmoid。
开发数据引擎
数据引擎给不同数据源提供标准接口供显示使用。了解数据引擎如何工作并如何开发你自己的数据引擎。
视频教程
Video and slides from a presentation on libplasma (link to Slides below)
上述视频的演示文档
Slides For The Presentation Creating User Interfaces With Plasma by Aaron Seigo
如何在Plasmoid运用扩展
A simple example that shows how to use extenders in a Plasmoid.
创建调用
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.
创建Comic插件
This guide shows you how to create a comic plugin for the comic plasmoid.
壁纸教程 1
This tutorial shows you how to make a simple Hello World plasma wallpaper plugin.

JavaScript开发Plasma

Plasma天生就支持JavaScript (也被称为ECMAScript,在QT环境下经常被称为QtScript),不需要任何其他外部资源。

启动
用JavaScript创建并运行你惹Plasmoid
获取数据
如何从数据引擎获取数据
Now Playing
比较高级的主题,数据引擎的应用:显示当前播放内容。
系统监视
如何存取系统监视器的数据引擎
注意列表
一张列表,而不是什么教程,开发JavaScript Plasmoids时要注意的东西,

Python开发Plasma

启动
用Python创建并运行第一个Plasmoid
使用Widgets
使用Plasma widgets
使用数据引擎
如何在Plasmoid使用数据引擎
开发数据引擎
开发你自己的Plasma数据引擎
用Python开发Plasmoid
Writing a simple battery graph in python

Ruby开发Plasma

启动
Creating and running your first plasmoid in Ruby
使用widgets
使用Plasma widgets
Writing a simple paste applet
A tutorial explaining how to write a simple paste applet using widgets

主题开发

创建Plasma主题
Guide to creating your first Plasma theme


资源