54 #include <QGraphicsLayout> 55 #include <QGraphicsLayoutItem> 56 #include <QGraphicsWidget> 74 void addWheelY (QGraphicsWidget *_item);
75 void addWheelZ (QGraphicsWidget *_item);
78 virtual int count()
const;
79 virtual QGraphicsLayoutItem * itemAt(
int _i)
const;
80 virtual void removeAt (
int _index);
82 virtual QSizeF sizeHint(Qt::SizeHint _which,
const QSizeF & _constraint = QSizeF())
const;
95 QGraphicsWidget *wheelY_;
96 QGraphicsWidget *wheelZ_;
98 QVector<QGraphicsWidget *> items_;
void reLayout()
Recalculate layout.
QGraphicsWidget * wheelX_
Items.
virtual void setGeometry(const QRectF &rect)
Tracks geometry changes.
void addWheelX(QGraphicsWidget *_item)
Add Wheel Widget to Layout.
virtual int count() const
Pure virtual functions that have to be implemented.