20 typedef QStyleOptionViewItem
BASE;
26 type = QStyleOption::SO_CustomBase + 89;
40 BASE::operator=(other);
49 #ifndef QT_NO_DEBUG_STREAM
54 dbg <<
"KDGantt::StyleOptionGanttItem::Left";
57 dbg <<
"KDGantt::StyleOptionGanttItem::Right";
60 dbg <<
"KDGantt::StyleOptionGanttItem::Center";
63 dbg <<
"KDGantt::StyleOptionGanttItem::Hidden";
66 dbg << static_cast<int>(p);
73 dbg <<
"KDGantt::StyleOptionGanttItem[ boundingRect=" << s.
boundingRect
76 <<
", grid=" << s.
grid
77 <<
", text=" << s.
text
QStyleOption subclass for gantt items.
Position
This enum is used to describe where the Qt::DisplayRole (the label) should be located relative to the...
QRectF boundingRect
Contains the bounding rectangle for the item.
AbstractGrid * grid
Contains a pointer to the AbstractGrid used by the view.
StyleOptionGanttItem & operator=(const StyleOptionGanttItem &other)
Assignment operator.
StyleOptionGanttItem()
Constructor.
QString text
Contains a string printed to the item.
QRectF itemRect
Contains the "active" item rectangle that corresponds to the values from the model.
QStyleOptionViewItem BASE
QDebug operator<<(QDebug dbg, KDGantt::StyleOptionGanttItem::Position p)