Archive:Projects/Plasma/Vocabulary (zh CN)

Contents

Plasma

Plasma指的是两样事情：Plasma类库和Plasma工作区。工作区就是KDE4的缺省桌面，有类库驱动。

Plasma类库 is generally the more interesting meaning of the word, as it provides a scene/view (much like model/view) approach to presenting a user interface. Widgets sit on the Corona canvas, grouped into Containments. Data is obtained via DataEngines and Runners. The entire scene is designed to be viewed in a flexible manner, including zooming and resolution independence.

小程序（Applet）

Corona

Corona，QGraphicsScene的子类，是Plasma的画布。It contains all of the Containments that exist for the application, providing the "model" for the Views to use.

It handles initiating loading and saving of Containments and Applets and other such canvas-global tasks.

容器（Containment）

容器是顶层的系列窗口小部件. 每个容器都有各自的布局和各个窗口小部件的配置文件，与其他容器无关。

数据引擎

数据引擎是个插件。 is a plugin that provides a visualization with a standard way to access a body of information. 每个数据单元都是一个"源"，源可以按需而建。Sources are updated either when the data changes (例如in response to a hotplug event for the devices DataEngine) or in a timed interval as requested by the visualization.