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 :''...')
 
m (AnneW moved page Development/Tutorials/Plasma (zh CN) to Archive:Development/Tutorials/Plasma (zh CN) without leaving a redirect: Obsolete)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Development/Tutorials/Plasma}}
 


== 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.''


== JavaScript开发Plasma ==
== 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.
Plasma天生就支持JavaScript (也被称为ECMAScript,在QT环境下经常被称为QtScript),不需要任何其他外部资源。


;[[Development/Tutorials/Plasma/JavaScript/GettingStarted|Getting Started]]
;[[Development/Tutorials/Plasma/JavaScript/GettingStarted|启动]]
:''Creating and running your first plasmoid in JavaScript''
:''用JavaScript创建并运行你惹Plasmoid''


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


;[[Development/Tutorials/Plasma/JavaScript/NowPlaying|Now Playing]]
;[[Development/Tutorials/Plasma/JavaScript/NowPlaying|Now 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''
:''如何存取系统监视器的数据引擎''


;[[Development/Tutorials/Plasma/JavaScript/CheatSheet|Cheat Sheet]]
;[[Development/Tutorials/Plasma/JavaScript/CheatSheet|注意列表]]
:''A cheat sheet, rather than a tutorial, of things to remember and watch out for when developing JavaScript plasmoids''
:''一张列表,而不是什么教程,开发JavaScript Plasmoids时要注意的东西,''


== 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).

Latest revision as of 13:28, 23 June 2013


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


资源