libplasma
Plasma::Rectangle Class Reference
#include <rectangle.h>
Inheritance diagram for Plasma::Rectangle:

Detailed Description
Definition at line 28 of file rectangle.h.
Public Member Functions | |
| Rectangle (Widget *parent) | |
| virtual | ~Rectangle () |
| Qt::Orientations | expandingDirections () const |
| void | paintWidget (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
Constructor & Destructor Documentation
| Plasma::Rectangle::Rectangle | ( | Widget * | parent | ) |
Definition at line 27 of file rectangle.cpp.
| Plasma::Rectangle::~Rectangle | ( | ) | [virtual] |
Definition at line 34 of file rectangle.cpp.
Member Function Documentation
| Qt::Orientations Plasma::Rectangle::expandingDirections | ( | ) | const [virtual] |
This method is used by Plasma::Layout to determine which directions the widget naturally expands.
- Returns:
- bitmask with the directions that this Widget can be expanded.
Reimplemented from Plasma::Widget.
Definition at line 38 of file rectangle.cpp.
| void Plasma::Rectangle::paintWidget | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| QWidget * | widget = 0 | |||
| ) | [virtual] |
Paints the widget.
- Parameters:
-
painter the QPainter to use to paint. option the style option used to give specific info on the item being dawn. widget the parent QWidget (most likely the Corona)
Reimplemented from Plasma::Widget.
Definition at line 43 of file rectangle.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference