56 #include <QGraphicsLayout> 57 #include <QGraphicsLayoutItem> 58 #include <QGraphicsWidget> 119 void addItem (QGraphicsWidget *_item,
unsigned int _pos);
128 void setSpacing (
unsigned int _s);
131 void setPrimary (
unsigned int _i);
135 virtual int count()
const;
136 virtual QGraphicsLayoutItem * itemAt(
int _i)
const;
137 virtual void removeAt (
int _index);
139 virtual QSizeF sizeHint(Qt::SizeHint _which,
const QSizeF & _constraint = QSizeF())
const;
142 virtual void setGeometry(
const QRectF & rect);
157 QGraphicsWidget *items_[4];
unsigned int spacing_
Spacing.
MultiViewMode mode() const
Retruns current layout modes.
MultiViewMode
MultiView display modes.
MultiViewMode mode_
current modes
unsigned int primary_
Primary element.