Development/Architecture/KDE4/Plasma: Difference between revisions

From KDE TechBase
(fix lang bar)
(updated links to qt doc)
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Development/Architecture/KDE4/Plasma)}}
<languages />


Plasma is the name of the new desktop planned to replace KDesktop in KDE4. You may think that it is a union of [http://netdragon.sf.net SuperKaramba] and KDesktop, but it's more. It's a whole concept of functionality and beauty.
<translate><!--T:1-->
Plasma is the name of the new desktop which replaced KDesktop in KDE4. You may think that it is a union of [http://netdragon.sf.net SuperKaramba] and KDesktop, but it's more. It's a whole concept of functionality and beauty.</translate>


Its implementation is based on the Qt [http://doc.trolltech.com/graphicsview.html Graphics View Framework] introduced in Qt 4.2.
<translate><!--T:2-->
Its implementation is based on the Qt [http://qt-project.org/doc/qt-4.8/qgraphicsview.html Graphics View Framework] introduced in Qt 4.2.</translate>


From a developer point of view there are some classes in libplasma who play central roles.
<translate><!--T:3-->
From a developer point of view there are some classes in libplasma who play central roles.</translate>


* '''Corona''': extends [http://doc.trolltech.com/qgraphicsscene.html QGraphicsScene] and provides functionality for adding applets and karamba themes.
* <translate><!--T:4-->
* '''Widget''': extends [http://doc.trolltech.com/qgraphicsitem.html QGraphicsItem] and works as simple elements in the desktop. There are some built-in in libplasma as icons or buttons.
'''Corona''': extends [http://qt-project.org/doc/qt-4.8/qgraphicsscene.html QGraphicsScene] and provides functionality for adding applets and karamba themes.</translate>
* '''Applet''': extends Widget and implements sophisticated functionality as rss display, a clock or system monitoring.
* <translate><!--T:5-->
* '''DataEngine''': The common use of a DataEngine is to provide data to a applet for display. This allows a user interface elements to show all sorts of data.
'''Widget''': extends [http://qt-project.org/doc/qt-4.8/qgraphicsitem.html QGraphicsItem] and works as simple elements in the desktop. There are some built-in in libplasma as icons or buttons.</translate>
* <translate><!--T:6-->
'''Applet''': extends Widget and implements sophisticated functionality as rss display, a clock or system monitoring.</translate>
* <translate><!--T:7-->
'''DataEngine''': The common use of a DataEngine is to provide data to an applet for display. This allows a user interface elements to show all sorts of data.</translate>


===Further reading===
===<translate><!--T:8-->
* [http://plasma.kde.org Plasma homesite]
Further reading</translate>===
* [http://api.kde.org/4.0-api/kdebase-workspace-apidocs/libs/plasma/html/index.html API]
* <translate><!--T:9-->
* [http://techbase.kde.org/Projects/Plasma Plasma techbase page]
[http://plasma.kde.org Plasma homesite]</translate>
* <translate><!--T:10-->
[http://api.kde.org/4.0-api/kdebase-workspace-apidocs/libs/plasma/html/index.html API]</translate>
* <translate><!--T:11-->
[[Projects/Plasma|Plasma techbase page]]</translate>
 
 
<translate><!--T:12-->
[[Category:Architecture]]</translate>
<translate><!--T:13-->
[[Category:KDE4]]</translate>

Revision as of 13:24, 4 March 2013


Plasma is the name of the new desktop which replaced KDesktop in KDE4. You may think that it is a union of SuperKaramba and KDesktop, but it's more. It's a whole concept of functionality and beauty.

Its implementation is based on the Qt Graphics View Framework introduced in Qt 4.2.

From a developer point of view there are some classes in libplasma who play central roles.

  • Corona: extends QGraphicsScene and provides functionality for adding applets and karamba themes.
  • Widget: extends QGraphicsItem and works as simple elements in the desktop. There are some built-in in libplasma as icons or buttons.
  • Applet: extends Widget and implements sophisticated functionality as rss display, a clock or system monitoring.
  • DataEngine: The common use of a DataEngine is to provide data to an applet for display. This allows a user interface elements to show all sorts of data.

Further reading