7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/QLayout>
22 RESET resetFieldGrowthPolicy)
24 RESET resetRowWrapPolicy)
26 RESET resetLabelAlignment)
28 RESET resetFormAlignment)
29 Q_PROPERTY(
int horizontalSpacing READ horizontalSpacing WRITE setHorizontalSpacing)
30 Q_PROPERTY(
int verticalSpacing READ verticalSpacing WRITE setVerticalSpacing)
67 Qt::Alignment labelAlignment()
const;
69 Qt::Alignment formAlignment()
const;
71 void setHorizontalSpacing(
int spacing);
72 int horizontalSpacing()
const;
73 void setVerticalSpacing(
int spacing);
74 int verticalSpacing()
const;
105 void setRowVisible(
int row,
bool on);
109 bool isRowVisible(
int row)
const;
114 void getItemPosition(
int index,
int *rowPtr,
ItemRole *rolePtr)
const;
133 int count()
const override;
135 int rowCount()
const;
142 void resetFieldGrowthPolicy();
143 void resetRowWrapPolicy();
144 void resetLabelAlignment();
145 void resetFormAlignment();
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 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.
int spacing
the spacing between widgets inside the 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
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * label
[43]
GLenum GLenum GLsizei void * row
static QString dump(const QByteArray &)
#define QT_REQUIRE_CONFIG(feature)
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent