Difference between revisions of "Projects/Plasma/Architecture"

Jump to: navigation, search
(having 10 clocks probably isn't a requirement, even if it would be nice :-))
(Extended that document a bit)
Line 1: Line 1:
Plasma should be able to have different themes for same data. For example there could be 10 different Clocks, while all of them are showing one thing: Time.
+
===Plasmoids===
So Plasma Provides Data Engines. Data Engines will provide Data for Plasmoids.
+
 
 +
Plasmoids are applets that can be added to any containment like a panel or the desktop.
 +
 
 +
====Applet====
 +
 
 +
Applets are compared to DataEngines the visible part of Plasmoids. They provide something the user sees and is able to interact with.
 +
 
 +
For one DataEngine there may multiple applets that present the data in different ways. As example there may a analog and a digital clock that both, while looking different, are showing one thing: Time.
 +
 
 +
====DataEngine====
 +
 
 +
DataEngines are compared to Applets the invisible part of Plasmoids. They are the data source and are information providers.
 +
 
 +
As example there exist only one DataEngine for the current time which can then be used by multiple clock applets to show the time.
  
 
So to have a Clock Plasmoid:
 
So to have a Clock Plasmoid:
  
Plasma --> Time Data Engine
+
Plasma --> Time Data Engine --> Analog Clock Plasmoid and Digital Clock Plasmoid
                                          |---> Clock Plasmoid 1
+
 
                                          |---> Clock Plasmoid 2
+
===Containment===
 +
 
 +
Containments are containers that allow to group elements.
 +
 
 +
====Panel====
 +
 
 +
The panel displayed per default at the bottom of the desktop is a container for various Plasmoids like the application launcher startmenu, a list of tasks, a desktop-switcher or a clock applet.
 +
 
 +
What elements are in the panel is configurable. That means, that a user can add more Plasmoids to the panel or remove existing ones.
 +
 
 +
Compared to an Plasmoid the panel, while being itself an applet, can contain also other applets and even other containments like panels.
 +
 
 +
====Desktop====
 +
 
 +
The desktop itself is also a containment. The default desktop, those that will show up if you start KDE4, contains the panel containment and a few other Plasmoid like icons.
 +
 
 +
Just like there may multiple panels within a desktop, they may also multiple desktops the user may use.
 +
 
 +
One example is the default desktop someone sees if KDE4 got started. Another example may then the multiple desktops the user is able to switch between using the desktop-switcher. Other samples are different desktops for different monitors, another one for tv-out, for small devices, presentation mode aka presenter view, etc.

Revision as of 19:33, 26 February 2008

Contents

Plasmoids

Plasmoids are applets that can be added to any containment like a panel or the desktop.

Applet

Applets are compared to DataEngines the visible part of Plasmoids. They provide something the user sees and is able to interact with.

For one DataEngine there may multiple applets that present the data in different ways. As example there may a analog and a digital clock that both, while looking different, are showing one thing: Time.

DataEngine

DataEngines are compared to Applets the invisible part of Plasmoids. They are the data source and are information providers.

As example there exist only one DataEngine for the current time which can then be used by multiple clock applets to show the time.

So to have a Clock Plasmoid:

Plasma --> Time Data Engine --> Analog Clock Plasmoid and Digital Clock Plasmoid

Containment

Containments are containers that allow to group elements.

Panel

The panel displayed per default at the bottom of the desktop is a container for various Plasmoids like the application launcher startmenu, a list of tasks, a desktop-switcher or a clock applet.

What elements are in the panel is configurable. That means, that a user can add more Plasmoids to the panel or remove existing ones.

Compared to an Plasmoid the panel, while being itself an applet, can contain also other applets and even other containments like panels.

Desktop

The desktop itself is also a containment. The default desktop, those that will show up if you start KDE4, contains the panel containment and a few other Plasmoid like icons.

Just like there may multiple panels within a desktop, they may also multiple desktops the user may use.

One example is the default desktop someone sees if KDE4 got started. Another example may then the multiple desktops the user is able to switch between using the desktop-switcher. Other samples are different desktops for different monitors, another one for tv-out, for small devices, presentation mode aka presenter view, etc.


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal