Development/Architecture/KDE4/Plasma: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Development/Architecture/KDE4/Plasma_(es)}}
 


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.
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.
Line 10: Line 10:
* '''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.
* '''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.
* '''Applet''': extends Widget and implements sophisticated functionality as rss display, a clock or system monitoring.
* '''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 a applet for display. This allows a user interface elements to show all sorts of data.
* '''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===
===Further reading===
* [http://plasma.kde.org Plasma homesite]
* [http://plasma.kde.org Plasma homesite]
* [http://api.kde.org/4.0-api/kdebase-workspace-apidocs/libs/plasma/html/index.html API]
* [http://api.kde.org/4.0-api/kdebase-workspace-apidocs/libs/plasma/html/index.html API]
* [http://techbase.kde.org/Projects/Plasma Plasma techbase page]
* [[Projects/Plasma|Plasma techbase page]]
 
 
[[Category:Architecture]]
[[Category:KDE4]]

Revision as of 09:20, 14 July 2012


Plasma is the name of the new desktop planned to replace 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