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();
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.
virtual void updateGeometry()
This virtual function discards any cached size hint information.
virtual void getContentsMargins(qreal *left, qreal *top, qreal *right, qreal *bottom) const
This virtual function provides the left, top, right and bottom contents margins for this QGraphicsLay...
friend class QGraphicsLayout
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)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent