29 #ifndef QTFLOWLAYOUT_H
30 #define QTFLOWLAYOUT_H
37 # include <QWidgetItem>
47 QtFlowLayout(QWidget *parent,
int margin = 0,
int spacing = -1);
51 void addItem(QLayoutItem *item);
56 QLayoutItem *
itemAt(
int index)
const;
60 QLayoutItem *
takeAt(
int index);
63 int doLayout(
const QRect &rect,
bool testOnly)
const;
77 void addItem(QLayoutItem *item);
82 QLayoutItem *
itemAt(
int index)
const;
86 QLayoutItem *
takeAt(
int index);
QList< QLayoutItem * > itemList
Qt::Orientations expandingDirections() const
void add(QLayoutItem *item, Position position)
void addItem(QLayoutItem *item)
QList< ItemWrapper * > list
void setGeometry(const QRect &rect)
void addWidget(QWidget *widget, Position position)
QSize minimumSize() const
QLayoutItem * takeAt(int index)
Qt::Orientations expandingDirections() const
int heightForWidth(int) const
bool hasHeightForWidth() const
QtFlowLayout(QWidget *parent, int margin=0, int spacing=-1)
QLayoutItem * takeAt(int index)
void addItem(QLayoutItem *item)
QLayoutItem * itemAt(int index) const
QtBorderLayout(QWidget *parent, int margin=0, int spacing=-1)
bool hasHeightForWidth() const
QSize calculateSize(SizeType sizeType) const
QLayoutItem * itemAt(int index) const
ItemWrapper(QLayoutItem *i, Position p)
QSize minimumSize() const
int doLayout(const QRect &rect, bool testOnly) const
void setGeometry(const QRect &rect)