43 #include <QtWidgets/qtwidgetsglobal.h>
44 #include <QtWidgets/qlayout.h>
45 #ifdef QT_INCLUDE_COMPAT
46 #include <QtWidgets/qwidget.h>
60 QDOC_PROPERTY(
int horizontalSpacing READ horizontalSpacing WRITE setHorizontalSpacing)
61 QDOC_PROPERTY(
int verticalSpacing READ verticalSpacing WRITE setVerticalSpacing)
71 void setHorizontalSpacing(
int spacing);
72 int horizontalSpacing()
const;
73 void setVerticalSpacing(
int spacing);
74 int verticalSpacing()
const;
78 void setRowStretch(
int row,
int stretch);
79 void setColumnStretch(
int column,
int stretch);
80 int rowStretch(
int row)
const;
81 int columnStretch(
int column)
const;
83 void setRowMinimumHeight(
int row,
int minSize);
84 void setColumnMinimumWidth(
int column,
int minSize);
85 int rowMinimumHeight(
int row)
const;
86 int columnMinimumWidth(
int column)
const;
112 int count()
const override;
118 void getItemPosition(
int idx,
int *
row,
int *
column,
int *rowSpan,
int *columnSpan)
const;
The QGridLayout class lays out widgets in a grid.
void addWidget(QWidget *w)
The QLayout class is the base class of geometry managers.
void addWidget(QWidget *w)
int spacing
the spacing between widgets inside the layout
QSize maximumSize() const override
virtual void setSpacing(int)
virtual void addItem(QLayoutItem *)=0
virtual QLayoutItem * itemAt(int index) const =0
virtual QLayoutItem * takeAt(int index)=0
Qt::Orientations expandingDirections() const override
QSize minimumSize() const override
void invalidate() override
virtual int count() const =0
virtual void setGeometry(const QRect &) override
The QLayoutItem class provides an abstract item that a QLayout manipulates.
virtual bool hasHeightForWidth() const
virtual int heightForWidth(int) const
virtual int minimumHeightForWidth(int) const
virtual QSize sizeHint() const =0
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
union Alignment_ Alignment
#define Q_DISABLE_COPY(Class)
GLfloat GLfloat GLfloat w
[0]
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent