#include <qdecoration_qws.h>
Definition at line 71 of file qdecoration_qws.h.
Inheritance diagram for QDecoration:Public Types | |
| enum | DecorationRegion { None = 0x0000000000, All = 0x7fffffff, TopLeft = 0x0000000001, Top = 0x0000000002, TopRight = 0x0000000004, Left = 0x0000000008, Right = 0x0000000010, BottomLeft = 0x0000000020, Bottom = 0x0000000040, BottomRight = 0x0000000080, Borders = 0x00000000ff, Menu = 0x0000000100, Title = 0x0000000200, Help = 0x0000000400, Minimize = 0x0000000800, Maximize = 0x0000001000, Normalize = 0x0000002000, Close = 0x0000004000, Move = 0x0000008000, Resize = 0x0000010000 } |
| enum | DecorationState { Normal = 0x04, Disabled = 0x08, Hover = 0x01, Pressed = 0x02 } |
Public Member Functions | |
| QDecoration () | |
| virtual | ~QDecoration () |
| virtual QRegion | region (const QWidget *w, const QRect &rect, int decorationRegion=All)=0 |
| QRegion | region (const QWidget *w, int decorationRegion=All) |
| virtual int | regionAt (const QWidget *w, const QPoint &point) |
| virtual void | regionClicked (QWidget *widget, int region) |
| virtual void | regionDoubleClicked (QWidget *widget, int region) |
| virtual void | buildSysMenu (QWidget *widget, QMenu *menu) |
| void | menuTriggered (QWidget *widget, QAction *action) |
| virtual bool | paint (QPainter *p, const QWidget *w, int decorationRegion=All, DecorationState state=Normal)=0 |
Static Public Member Functions | |
| static void | startMove (QWidget *widget) |
| static void | startResize (QWidget *widget) |
| enum DecorationRegion |
| Enumerator | |
|---|---|
| None | |
| All | |
| TopLeft | |
| Top | |
| TopRight | |
| Left | |
| Right | |
| BottomLeft | |
| Bottom | |
| BottomRight | |
| Borders | |
| Menu | |
| Title | |
| Help | |
| Minimize | |
| Maximize | |
| Normalize | |
| Close | |
| Move | |
| Resize | |
Definition at line 87 of file qdecoration_qws.h.
| enum DecorationState |
| Enumerator | |
|---|---|
| Normal | |
| Disabled | |
| Hover | |
| Pressed | |
Definition at line 98 of file qdecoration_qws.h.
|
inline |
Definition at line 74 of file qdecoration_qws.h.
|
inlinevirtual |
Definition at line 75 of file qdecoration_qws.h.
|
pure virtual |
Implemented in QDecorationDefault, QDecorationStyled, and QDecorationWindows.
Definition at line 101 of file qdecoration_qws.h.
|
pure virtual |
Implemented in QDecorationDefault, QDecorationStyled, and QDecorationWindows.