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);
34 void removeAt(
int index)
override;
49 int count()
const override;
52 void invalidate()
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.
The QGraphicsLayout class provides the base class for all layouts in Graphics View.
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.
GLenum GLenum GLsizei count
static QString dump(const QByteArray &)
#define QT_REQUIRE_CONFIG(feature)
label setAlignment(Qt::AlignLeft|Qt::AlignTop)
[0]