kdgantt
KDGantt::StyleOptionGanttItem Class Reference
#include <KDGanttStyleOptionGanttItem>

Detailed Description
QStyleOption subclass for gantt items.Definition at line 36 of file kdganttstyleoptionganttitem.h.
Public Types | |
| enum | Position { Left, Right, Center } |
Public Member Functions | |
| StyleOptionGanttItem & | operator= (const StyleOptionGanttItem &other) |
| StyleOptionGanttItem (const StyleOptionGanttItem &other) | |
| StyleOptionGanttItem () | |
Public Attributes | |
| QRectF | boundingRect |
| Position | displayPosition |
| AbstractGrid * | grid |
| QRectF | itemRect |
| QString | text |
Member Enumeration Documentation
This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the item itself.
Definition at line 38 of file kdganttstyleoptionganttitem.h.
Constructor & Destructor Documentation
| StyleOptionGanttItem::StyleOptionGanttItem | ( | ) |
Constructor. Sets grid to 0.
Definition at line 37 of file kdganttstyleoptionganttitem.cpp.
| StyleOptionGanttItem::StyleOptionGanttItem | ( | const StyleOptionGanttItem & | other | ) |
Copy constructor. Creates a copy of other
Definition at line 46 of file kdganttstyleoptionganttitem.cpp.
Member Function Documentation
| StyleOptionGanttItem & StyleOptionGanttItem::operator= | ( | const StyleOptionGanttItem & | other | ) |
Assignment operator
Definition at line 53 of file kdganttstyleoptionganttitem.cpp.
Member Data Documentation
Contains the bounding rectangle for the item
Definition at line 44 of file kdganttstyleoptionganttitem.h.
- See also:
- StyleOptionGanttItem::Position.
Definition at line 46 of file kdganttstyleoptionganttitem.h.
Contains a pointer to the AbstractGrid used by the view
Definition at line 47 of file kdganttstyleoptionganttitem.h.
Contains the "active" item rectangle that corresponds to the values from the model.
Definition at line 45 of file kdganttstyleoptionganttitem.h.
Contains a string printed to the item
Definition at line 48 of file kdganttstyleoptionganttitem.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference