40 #ifndef QGRAPHICSLINEARLAYOUT_H
41 #define QGRAPHICSLINEARLAYOUT_H
43 #include <QtWidgets/qtwidgetsglobal.h>
44 #include <QtWidgets/qgraphicsitem.h>
45 #include <QtWidgets/qgraphicslayout.h>
64 inline void addStretch(
int stretch = 1) { insertStretch(-1, stretch); }
67 void insertStretch(
int index,
int stretch = 1);
85 int count()
const override;
92 Q5SizePolicy::ControlTypes controlTypes(
LayoutSide side)
const;
95 void dump(
int indent = 0)
const;
The QGraphicsLayout class provides the base class for all layouts in Graphics View.
virtual void invalidate()
virtual int count() const =0
virtual QGraphicsLayoutItem * itemAt(int i) const =0
virtual void removeAt(int index)=0
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
virtual void setGeometry(const QRectF &rect)
The QGraphicsLinearLayout class provides a horizontal or vertical layout for managing widgets in Grap...
void addStretch(int stretch=1)
void addItem(QGraphicsLayoutItem *item)
The QRectF class defines a finite rectangle in the plane using floating point precision.
The QSizeF class defines the size of a two-dimensional object using floating point precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
union Alignment_ Alignment
QT_END_INCLUDE_NAMESPACE typedef double qreal
#define Q_DISABLE_COPY(Class)
QT_REQUIRE_CONFIG(graphicsview)
label setAlignment(Qt::AlignLeft|Qt::AlignTop)
[0]
void dump(QAbstractItemModel *model, QString const &indent=" - ", QModelIndex const &parent={})
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent