Archive:Development/Tutorials/Plasma (zh CN): Difference between revisions

From KDE TechBase
(Created page with '{{Template:I18n/Language Navigation Bar|Development/Tutorials/Plasma}} == C++开发Plasma == ;Getting Started With Plasmoids :''...')
 
No edit summary
Line 3: Line 3:
== C++开发Plasma ==
== C++开发Plasma ==


;[[Development/Tutorials/Plasma/GettingStarted|Getting Started With Plasmoids]]
;[[Development/Tutorials/Plasma/GettingStarted|启动Plasmoids]]
:''Creating your first plasmoid in C++ with SVG background, icon and text''
:''用C++创建一个有SVG背景,图标,和文字的plasmoid。''


;[[Development/Tutorials/Plasma/DataEngines|Writing a DataEngine]]
;[[Development/Tutorials/Plasma/DataEngines|开发数据引擎]]
:''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.''
:''数据引擎给不同数据源提供标准接口供显示使用。了解数据引擎如何工作并如何开发你自己的数据引擎。''


;[http://www.kdedevelopers.org/node/3247 Video tutorial]
;[http://www.kdedevelopers.org/node/3247 视频教程]
:''Video and slides from a presentation on libplasma (link to Slides below)''
:''Video and slides from a presentation on libplasma (link to Slides below)''


;[http://mirror.linux.org.au/pub/linux.conf.au/2008/slides/296-coolplasma.odp Link To Slides For The Above Video]
;[http://mirror.linux.org.au/pub/linux.conf.au/2008/slides/296-coolplasma.odp 上述视频的演示文档]
:''Slides For The Presentation Creating User Interfaces With Plasma by Aaron Seigo''
:''Slides For The Presentation Creating User Interfaces With Plasma by Aaron Seigo''


;[[Development/Tutorials/Plasma/UsingExtenders|How to use extenders in your Plasmoid]]
;[[Development/Tutorials/Plasma/UsingExtenders|如何在Plasmoid运用扩展]]
:''A simple example that shows how to use extenders in a Plasmoid.''
:''A simple example that shows how to use extenders in a Plasmoid.''


;[[Development/Tutorials/Plasma/AbstractRunner|Creating Runners]]
;[[Development/Tutorials/Plasma/AbstractRunner|创建调用]]
:''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.''
:''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.''


;[[Development/Tutorials/Plasma/ComicPlugin|Creating Comic Plugins]]
;[[Development/Tutorials/Plasma/ComicPlugin|创建Comic插件]]
:''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.''


;[[Development/Tutorials/Plasma/WallpaperHelloWorld|Wallpaper Tutorial 1]]
;[[Development/Tutorials/Plasma/WallpaperHelloWorld|壁纸教程 1]]
:''This tutorial shows you how to make a simple Hello World plasma wallpaper plugin.''
:''This tutorial shows you how to make a simple Hello World plasma wallpaper plugin.''


Line 31: Line 31:
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.


;[[Development/Tutorials/Plasma/JavaScript/GettingStarted|Getting Started]]
;[[Development/Tutorials/Plasma/JavaScript/GettingStarted|启动]]
:''Creating and running your first plasmoid in JavaScript''
:''Creating and running your first plasmoid in JavaScript''


;[[Development/Tutorials/Plasma/JavaScript/DataEngine|Getting Data]]
;[[Development/Tutorials/Plasma/JavaScript/DataEngine|获取数据]]
:''How to retreive data from a data engine''
:''How to retreive data from a data engine''


Line 40: Line 40:
:''Slightly more advanced data engine usage: displaying what's currently playing''
:''Slightly more advanced data engine usage: displaying what's currently playing''


;[[Development/Tutorials/Plasma/JavaScript/SystemMonitor|System Monitor]]
;[[Development/Tutorials/Plasma/JavaScript/SystemMonitor|系统监视]]
:''How to access systemmonitor data engine''
:''How to access systemmonitor data engine''


Line 48: Line 48:
== Python开发Plasma ==
== Python开发Plasma ==


;[[Development/Tutorials/Plasma/Python/GettingStarted|Getting Started]]
;[[Development/Tutorials/Plasma/Python/GettingStarted|启动]]
:''用Python创建并运行第一个Plasmoid''
:''用Python创建并运行第一个Plasmoid''


;[[Development/Tutorials/Plasma/Python/Using widgets|Using widgets]]
;[[Development/Tutorials/Plasma/Python/Using widgets|使用Widgets]]
:''使用Plasma widgets''
:''使用Plasma widgets''


;[[Development/Tutorials/Plasma/Python/Using DataEngines|Using DataEngines]]
;[[Development/Tutorials/Plasma/Python/Using DataEngines|使用数据引擎]]
:''如何在Plasmoid使用数据引擎''
:''如何在Plasmoid使用数据引擎''


;[[Development/Tutorials/Plasma/Python/Writing DataEngines|Writing DataEngines]]
;[[Development/Tutorials/Plasma/Python/Writing DataEngines|开发数据引擎]]
:''开发你自己的Plasma数据引擎''
:''开发你自己的Plasma数据引擎''


Line 64: Line 64:


== Ruby开发Plasma ==
== Ruby开发Plasma ==
;[[Development/Tutorials/Plasma/Ruby/GettingStarted|Getting Started]]
;[[Development/Tutorials/Plasma/Ruby/GettingStarted|启动]]
:''Creating and running your first plasmoid in Ruby''
:''Creating and running your first plasmoid in Ruby''


Line 83: Line 83:
* 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文档]
* [http://api.kde.org/4.x-api/kdelibs-apidocs/plasma/html/index.html Plasma API文档]
* The [https://mail.kde.org/mailman/listinfo/plasma-devel plasma-devel mailing list] and #plasma on IRC (irc.freenode.org).
* [https://mail.kde.org/mailman/listinfo/plasma-devel plasma-devel邮件列表] #plasma on IRC (irc.freenode.org).

Revision as of 05:27, 28 September 2009


Development/Tutorials/Plasma


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 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
获取数据
How to retreive data from a data engine
Now Playing
Slightly more advanced data engine usage: displaying what's currently playing
系统监视
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

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


资源