libplasma
Plasma::Widget Class Reference
#include <widget.h>
Inheritance diagram for Plasma::Widget:

Detailed Description
Base class for all Widgets in Plasma.Widgets are the basis for User Interfaces inside Plasma. Widgets are rectangular, but can be in any visible shape by just using transparency to mask out non-rectangular areas.
To implement a Widget, just subclass Plasma::Widget and implement at minimum, sizeHint() and paintWidget()
Definition at line 65 of file widget.h.
Public Member Functions | |
Widget (QGraphicsItem *parent=0, QObject *parentObject=0) | |
virtual | ~Widget () |
Constructor & Destructor Documentation
Plasma::Widget::Widget | ( | QGraphicsItem * | parent = 0 , |
|
QObject * | parentObject = 0 | |||
) | [explicit] |
Creates a new Plasma::Widget.
- Parameters:
-
parent the QGraphicsItem this icon is parented to.
Definition at line 83 of file widget.cpp.
Plasma::Widget::~Widget | ( | ) | [virtual] |
The documentation for this class was generated from the following files: