4#ifndef QGRAPHICSLAYOUT_H
5#define QGRAPHICSLAYOUT_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qgraphicslayoutitem.h>
28 bool isActivated()
const;
29 virtual void invalidate();
30 virtual void updateGeometry()
override;
32 virtual void widgetEvent(
QEvent *e);
38 static void setInstantInvalidatePropagation(
bool enable);
39 static bool instantInvalidatePropagation();
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.
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 ...
Combined button and popup list for selecting options.
#define Q_DECLARE_INTERFACE(IFace, IId)
GLdouble GLdouble GLdouble GLdouble top
static void layoutItem(QQuickItem *item, qreal y, qreal width)
#define QT_REQUIRE_CONFIG(feature)