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

    From KDE TechBase
    No edit summary
    Line 29: Line 29:
    == 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|启动]]
    ;[[Development/Tutorials/Plasma/JavaScript/GettingStarted|启动]]
    :''Creating and running your first plasmoid in JavaScript''
    :''用JavaScript创建并运行你惹Plasmoid''


    ;[[Development/Tutorials/Plasma/JavaScript/DataEngine|获取数据]]
    ;[[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|系统监视]]
    ;[[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 ==

    Revision as of 05:37, 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天生就支持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


    资源