kdgantt2
#include <KDGanttStyleOptionGanttItem>
Public Types | |
enum | Position { Left, Right, Center } |
Public Member Functions | |
StyleOptionGanttItem () | |
StyleOptionGanttItem (const StyleOptionGanttItem &other) | |
StyleOptionGanttItem & | operator= (const StyleOptionGanttItem &other) |
Public Member Functions inherited from QStyleOptionViewItem | |
QStyleOptionViewItem () | |
QStyleOptionViewItem (const QStyleOptionViewItem &other) | |
Public Member Functions inherited from QStyleOption | |
QStyleOption (int version, int type) | |
QStyleOption (const QStyleOption &other) | |
~QStyleOption () | |
void | init (const QWidget *widget) |
void | initFrom (const QWidget *widget) |
QStyleOption & | operator= (const QStyleOption &other) |
Public Attributes | |
QRectF | boundingRect |
Position | displayPosition |
AbstractGrid * | grid |
QRectF | itemRect |
QString | text |
Detailed Description
QStyleOption subclass for gantt items.
Definition at line 36 of file kdganttstyleoptionganttitem.h.
Member Enumeration Documentation
This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the item itself.
Enumerator | |
---|---|
Left | |
Right | |
Center |
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
StyleOptionGanttItem::boundingRect |
Contains the bounding rectangle for the item
Definition at line 44 of file kdganttstyleoptionganttitem.h.
StyleOptionGanttItem::displayPosition |
- See also
- StyleOptionGanttItem::Position.
Definition at line 46 of file kdganttstyleoptionganttitem.h.
StyleOptionGanttItem::grid |
Contains a pointer to the AbstractGrid used by the view
Definition at line 47 of file kdganttstyleoptionganttitem.h.
StyleOptionGanttItem::itemRect |
Contains the "active" item rectangle that corresponds to the values from the model.
Definition at line 45 of file kdganttstyleoptionganttitem.h.
StyleOptionGanttItem::text |
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:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.