![]() |
KD Chart API Documentation 3.1
|
QStyleOption subclass for gantt items. More...
#include <KDGanttStyleOptionGanttItem>


Public Types | |
| enum | Position { Left , Right , Center , Hidden } |
| This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the item itself. More... | |
Public Types inherited from QStyleOptionViewItem | |
| enum | Position |
| enum | StyleOptionType |
| enum | StyleOptionVersion |
| enum | ViewItemFeature |
| enum | ViewItemPosition |
Public Types inherited from QStyleOption | |
| enum | OptionType |
| enum | StyleOptionType |
| enum | StyleOptionVersion |
Public Member Functions | |
| StyleOptionGanttItem () | |
| Constructor. | |
| StyleOptionGanttItem (const StyleOptionGanttItem &other) | |
| Copy constructor. | |
| StyleOptionGanttItem & | operator= (const StyleOptionGanttItem &other) |
| Assignment operator. | |
Public Member Functions inherited from QStyleOptionViewItem | |
| QStyleOptionViewItem () | |
| QStyleOptionViewItem (const QStyleOptionViewItem &other) | |
Public Member Functions inherited from QStyleOption | |
| QStyleOption (const QStyleOption &other) | |
| QStyleOption (int version, int type) | |
| ~QStyleOption () | |
| void | init (const QWidget *widget) |
| void | initFrom (const QWidget *widget) |
| QStyleOption & | operator= (const QStyleOption &other) |
| T | qstyleoption_cast (const QStyleOption *option) |
| T | qstyleoption_cast (QStyleOption *option) |
QStyleOption subclass for gantt items.
Definition at line 22 of file kdganttstyleoptionganttitem.h.
This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the item itself.
| Enumerator | |
|---|---|
| Left | |
| Right | |
| Center | |
| Hidden | |
Definition at line 25 of file kdganttstyleoptionganttitem.h.
| StyleOptionGanttItem::StyleOptionGanttItem | ( | ) |
Constructor.
Sets grid to 0.
Definition at line 23 of file kdganttstyleoptionganttitem.cpp.
References QStyleOption::SO_CustomBase.
| StyleOptionGanttItem::StyleOptionGanttItem | ( | const StyleOptionGanttItem & | other | ) |
Copy constructor.
Creates a copy of other
Definition at line 31 of file kdganttstyleoptionganttitem.cpp.
References operator=().
| StyleOptionGanttItem & StyleOptionGanttItem::operator= | ( | const StyleOptionGanttItem & | other | ) |
Assignment operator.
Definition at line 38 of file kdganttstyleoptionganttitem.cpp.
References boundingRect, displayPosition, grid, itemRect, and text.
Referenced by StyleOptionGanttItem().
| StyleOptionGanttItem::boundingRect |
Contains the bounding rectangle for the item.
Definition at line 37 of file kdganttstyleoptionganttitem.h.
Referenced by operator<<(), and operator=().
| StyleOptionGanttItem::displayPosition = Left |
Definition at line 39 of file kdganttstyleoptionganttitem.h.
Referenced by KDGantt::Legend::getStyleOption(), operator<<(), and operator=().
| StyleOptionGanttItem::grid = nullptr |
Contains a pointer to the AbstractGrid used by the view.
Definition at line 40 of file kdganttstyleoptionganttitem.h.
Referenced by operator<<(), and operator=().
| StyleOptionGanttItem::itemRect |
Contains the "active" item rectangle that corresponds to the values from the model.
Definition at line 38 of file kdganttstyleoptionganttitem.h.
Referenced by operator<<(), and operator=().
| StyleOptionGanttItem::text |
Contains a string printed to the item.
Definition at line 41 of file kdganttstyleoptionganttitem.h.
Referenced by operator<<(), and operator=().
https://www.kdab.com/development-resources/qt-tools/kd-chart/