Development/Architecture/KDE4/Plasma/pt-br: Difference between revisions

From KDE TechBase
(Created page with "Plasma é o nome do novo desktop que substituiu o KDesktop no KDE4. Você pode pensar que ele é uma união do [http://netdragon.sf.net SuperKaramba] e o KDesktop, porém é m...")
 
(Created page with "Do ponto de vista do desenvolvedor, há algumas classes no libplasma que desempenham papéis centrais.")
Line 5: Line 5:
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.
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.


From a developer point of view there are some classes in libplasma who play central roles.
Do ponto de vista do desenvolvedor, há algumas classes no libplasma que desempenham papéis centrais.


* '''Corona''': extends [http://qt-project.org/doc/qt-4.8/qgraphicsscene.html QGraphicsScene] and provides functionality for adding applets and karamba themes.
* '''Corona''': extends [http://qt-project.org/doc/qt-4.8/qgraphicsscene.html QGraphicsScene] and provides functionality for adding applets and karamba themes.

Revision as of 15:37, 28 August 2014


Plasma é o nome do novo desktop que substituiu o KDesktop no KDE4. Você pode pensar que ele é uma união do SuperKaramba e o KDesktop, porém é mais que isso. É todo um conceito de funcionalidade e beleza.

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

Do ponto de vista do desenvolvedor, há algumas classes no libplasma que desempenham papéis centrais.

  • 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