#include </home/clem/local/src/opie/noncore/decorations/polished/polished.h>
Inheritance diagram for PolishedDecoration:


Public Member Functions | |
| PolishedDecoration () | |
| virtual | ~PolishedDecoration () |
| virtual int | metric (Metric m, const WindowData *) const |
| virtual void | drawArea (Area a, QPainter *, const WindowData *) const |
| virtual void | drawButton (Button b, QPainter *, const WindowData *, int x, int y, int w, int h, QWSButton::State) const |
| virtual QRegion | mask (const WindowData *) const |
| virtual QString | name () const |
| virtual QPixmap | icon () const |
| QRESULT | queryInterface (const QUuid &, QUnknownInterface **) |
Protected Member Functions | |
| void | drawBlend (QPainter *, const QRect &r, const QColor &c1, const QColor &c2) const |
|
|
Definition at line 25 of file polished.cpp. |
|
|
Definition at line 29 of file polished.cpp. |
|
||||||||||||||||
|
draw the Area specefic in a to the QPainter Reimplemented from WindowDecorationInterface. Definition at line 57 of file polished.cpp. References Qt::AlignVCenter, WindowDecorationInterface::Border, WindowDecorationInterface::BottomBorder, WindowDecorationInterface::drawArea(), drawBlend(), WindowDecorationInterface::HelpWidth, WindowDecorationInterface::LeftBorder, metric(), WindowDecorationInterface::RightBorder, WindowDecorationInterface::Title, WindowDecorationInterface::TitleHeight, WindowDecorationInterface::TitleText, and WindowDecorationInterface::TopBorder. |
|
||||||||||||||||||||
|
Definition at line 131 of file polished.cpp. Referenced by drawArea(). |
|
||||||||||||||||||||||||||||||||||||
|
Reimplemented from WindowDecorationInterface. Definition at line 111 of file polished.cpp. References WindowDecorationInterface::drawButton(). |
|
|
Implements WindowDecorationInterface. Definition at line 126 of file polished.cpp. |
|
|
The mask of the Decoration.
int th = metric(TitleHeight,wd); QRect rect( wd->rect ); QRect r(rect.left() - metric(LeftBorder,wd), rect.top() - th - metric(TopBorder,wd), rect.width() + metric(LeftBorder,wd) + metric(RightBorder,wd), rect.height() + th + metric(TopBorder,wd) + metric(BottomBorder,wd)); return QRegion(r) - rect; Reimplemented from WindowDecorationInterface. Definition at line 116 of file polished.cpp. References WindowDecorationInterface::mask(). |
|
||||||||||||
|
Reimplemented from WindowDecorationInterface. Definition at line 33 of file polished.cpp. References WindowDecorationInterface::BottomBorder, height, WindowDecorationInterface::LeftBorder, WindowDecorationInterface::metric(), WindowDecorationInterface::RightBorder, WindowDecorationInterface::TitleHeight, and WindowDecorationInterface::TopBorder. Referenced by drawArea(). |
|
|
Implements WindowDecorationInterface. Definition at line 121 of file polished.cpp. References qApp. |
|
||||||||||||
|
Implements QUnknownInterface. Definition at line 154 of file polished.cpp. References IID_QUnknown, IID_WindowDecoration, QS_FALSE, and QS_OK. |
1.4.2