62 #include <QGraphicsLayout>
63 #include <QGraphicsLayoutItem>
64 #include <QGraphicsWidget>
125 void addItem (QGraphicsWidget *_item,
unsigned int _pos);
128 void setMode (MultiViewMode _mode);
134 void setSpacing (
unsigned int _s);
137 void setPrimary (
unsigned int _i);
141 virtual int count()
const;
142 virtual QGraphicsLayoutItem * itemAt(
int _i)
const;
143 virtual void removeAt (
int _index);
145 virtual QSizeF sizeHint(Qt::SizeHint _which,
const QSizeF & _constraint = QSizeF())
const;
148 virtual void setGeometry(
const QRectF & rect);
163 QGraphicsWidget *items_[4];
MultiViewMode mode() const
Retruns current layout modes.
MultiViewMode
MultiView display modes.
unsigned int primary_
Primary element.
MultiViewMode mode_
current modes
unsigned int spacing_
Spacing.