Libplasma
Plasma framework is the core of the Plasma desktop. It provides a framework of graphical widgets (Plasma::Applet) that can be organised into managed groupings (Plasma::Containment), such as a desktop or panel.) and a corresponding service interaction layer (Plasma::Service) to make implementing widgets easier.
The Qt Quick framework and set of KDE Frameworks provide the underpinning for Plasma framework. As a result, it should work anywhere that Qt does.
Although Plasma framework is developed for the use of the Plasma desktop shell, currently known as Plasma 5, it is general enough to be useful in other applications. Amarok is using it for its context view, allowing for pluggable widgets to display and interact with the music collection, such as "current track" and "tag cloud" widgets.
Plasma framework itself only provides a framework, and the widgets, containments, data engines are all implemented as plugins (using C++, for widgets QML is prefferd). However, the framework is designed to make implementing these plugins as easy as possible, including providing scripting support.
Other important classes are:
- Plasma::Corona: the canvas that containments are placed on
- Plasma::View: a QWidget for displaying a containment
- Plasma::Theme: provides theming support
- Plasma::Package: provides descriptions of packages containing plugins for libplasma
- Plasma::Svg and Plasma::FrameSvg: provides themable, cached SVGs
The Plasma tutorials on TechBase provide a good introduction to writing plugins, such as widgets and data engines, for libplasma-based applications.
- Maintainer(s)
- Marco Martin <notma.nosp@m.rt@g.nosp@m.mail..nosp@m.com>
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:09:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.