7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qlayout.h>
9#ifdef QT_INCLUDE_COMPAT
10#include <QtWidgets/qwidget.h>
24 QDOC_PROPERTY(
int horizontalSpacing READ horizontalSpacing WRITE setHorizontalSpacing)
25 QDOC_PROPERTY(
int verticalSpacing READ verticalSpacing WRITE setVerticalSpacing)
35 void setHorizontalSpacing(
int spacing);
36 int horizontalSpacing()
const;
37 void setVerticalSpacing(
int spacing);
38 int verticalSpacing()
const;
42 void setRowStretch(
int row,
int stretch);
43 void setColumnStretch(
int column,
int stretch);
44 int rowStretch(
int row)
const;
45 int columnStretch(
int column)
const;
47 void setRowMinimumHeight(
int row,
int minSize);
48 void setColumnMinimumWidth(
int column,
int minSize);
49 int rowMinimumHeight(
int row)
const;
50 int columnMinimumWidth(
int column)
const;
52 int columnCount()
const;
67 void addLayout(
QLayout *,
int row,
int column, Qt::Alignment = Qt::Alignment());
68 void addLayout(
QLayout *,
int row,
int column,
int rowSpan,
int columnSpan, Qt::Alignment = Qt::Alignment());
76 int count()
const override;
82 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)
This is an overloaded member function, provided for convenience. It differs from the above function o...
The QLayoutItem class provides an abstract item that a QLayout manipulates.
virtual bool hasHeightForWidth() const
Returns true if this layout's preferred height depends on its width; otherwise returns false.
virtual int heightForWidth(int) const
Returns the preferred height for this layout item, given the width, which is not used in this default...
virtual int minimumHeightForWidth(int) const
Returns the minimum height this widget needs for the given width, w.
virtual QSize sizeHint() const =0
Implemented in subclasses to return the preferred size of this item.
The QLayout class is the base class of geometry managers.
void addWidget(QWidget *w)
Adds widget w to this layout in a manner specific to the layout.
int spacing
the spacing between widgets inside the layout
QSize maximumSize() const override
Returns the maximum size of this layout.
virtual void setSpacing(int)
virtual void addItem(QLayoutItem *)=0
Implemented in subclasses to add an item.
virtual QLayoutItem * itemAt(int index) const =0
Must be implemented in subclasses to return the layout item at index.
virtual QLayoutItem * takeAt(int index)=0
Must be implemented in subclasses to remove the layout item at index from the layout,...
Qt::Orientations expandingDirections() const override
Returns whether this layout can make use of more space than sizeHint().
QSize minimumSize() const override
Returns the minimum size of this layout.
void invalidate() override
\reimp
virtual int count() const =0
Must be implemented in subclasses to return the number of items in the layout.
virtual void setGeometry(const QRect &) override
\reimp
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat w
[0]
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent