7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qobject.h>
9#include <QtWidgets/qlayoutitem.h>
10#include <QtWidgets/qsizepolicy.h>
11#include <QtCore/qrect.h>
12#include <QtCore/qmargins.h>
32 RESET unsetContentsMargins)
49 virtual void setSpacing(
int);
52 void setContentsMargins(
const QMargins &margins);
53 void unsetContentsMargins();
56 QRect contentsRect()
const;
62 void setSizeConstraint(SizeConstraint);
63 SizeConstraint sizeConstraint()
const;
95 int totalMinimumHeightForWidth(
int w)
const;
96 int totalHeightForWidth(
int w)
const;
97 QSize totalMinimumSize()
const;
98 QSize totalMaximumSize()
const;
99 QSize totalSizeHint()
const;
102 void setEnabled(
bool);
103 bool isEnabled()
const;
109 void widgetEvent(
QEvent *);
111 void addChildLayout(
QLayout *l);
132#include <QtWidgets/qboxlayout.h>
133#include <QtWidgets/qgridlayout.h>
The QLayoutItem class provides an abstract item that a QLayout manipulates.
virtual Qt::Orientations expandingDirections() const =0
Returns whether this layout item can make use of more space than sizeHint().
virtual QSize minimumSize() const =0
Implemented in subclasses to return the minimum size of this item.
virtual bool isEmpty() const =0
Implemented in subclasses to return whether this item is empty, i.e.
virtual QRect geometry() const =0
Returns the rectangle covered by this layout item.
virtual QSizePolicy::ControlTypes controlTypes() const
Returns the control type(s) for the layout item.
virtual void setGeometry(const QRect &)=0
Implemented in subclasses to set this item's geometry to r.
virtual QSize maximumSize() const =0
Implemented in subclasses to return the maximum size of this item.
virtual void invalidate()
Invalidates any cached information in this layout item.
void setAlignment(Qt::Alignment a)
Sets the alignment of this item to alignment.
The QLayout class is the base class of geometry managers.
virtual void addItem(QLayoutItem *)=0
Implemented in subclasses to add an item.
SizeConstraint
The possible values are:
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,...
virtual int count() const =0
Must be implemented in subclasses to return the number of items in the layout.
virtual void childEvent(QChildEvent *event)
This event handler can be reimplemented in a subclass to receive child events.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
@ FindChildrenRecursively
GLfloat GLfloat GLfloat w
[0]
GLdouble GLdouble GLdouble GLdouble top
label setAlignment(Qt::AlignLeft|Qt::AlignTop)
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent