4#ifndef QGRAPHICSLINEARLAYOUT_H
5#define QGRAPHICSLINEARLAYOUT_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qgraphicsitem.h>
9#include <QtWidgets/qgraphicslayout.h>
28 inline void addStretch(
int stretch = 1) { insertStretch(-1, stretch); }
31 void insertStretch(
int index,
int stretch = 1);
49 int count()
const override;
56 Q5SizePolicy::ControlTypes controlTypes(
LayoutSide side)
const;
59 void dump(
int indent = 0)
const;
The QGraphicsLayoutItem class can be inherited to allow your custom items to be managed by layouts.
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const =0
This pure virtual function returns the size hint for which of the QGraphicsLayoutItem,...
virtual void setGeometry(const QRectF &rect)
This virtual function sets the geometry of the QGraphicsLayoutItem to rect, which is in parent coordi...
The QGraphicsLayout class provides the base class for all layouts in Graphics View.
virtual void invalidate()
Clears any cached geometry and size hint information in the layout, and posts a \l{QEvent::LayoutRequ...
virtual int count() const =0
This pure virtual function must be reimplemented in a subclass of QGraphicsLayout to return the numbe...
virtual QGraphicsLayoutItem * itemAt(int i) const =0
This pure virtual function must be reimplemented in a subclass of QGraphicsLayout to return a pointer...
virtual void removeAt(int index)=0
This pure virtual function must be reimplemented in a subclass of QGraphicsLayout to remove the item ...
The QGraphicsLinearLayout class provides a horizontal or vertical layout for managing widgets in Grap...
void addStretch(int stretch=1)
This convenience function is equivalent to calling insertStretch(-1, stretch).
void addItem(QGraphicsLayoutItem *item)
This convenience function is equivalent to calling insertItem(-1, item).
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
static QString dump(const QByteArray &)
#define QT_REQUIRE_CONFIG(feature)
label setAlignment(Qt::AlignLeft|Qt::AlignTop)
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent