42 #ifndef QGRAPHICSANCHORLAYOUT_H 43 #define QGRAPHICSANCHORLAYOUT_H 45 #include <QtGui/qgraphicsitem.h> 46 #include <QtGui/qgraphicslayout.h> 55 #if !defined(QT_NO_GRAPHICSVIEW) || (QT_EDITION & QT_MODULE_GRAPHICSVIEW) != QT_MODULE_GRAPHICSVIEW 67 void setSpacing(
qreal spacing);
69 qreal spacing()
const;
100 void setHorizontalSpacing(
qreal spacing);
101 void setVerticalSpacing(
qreal spacing);
102 void setSpacing(
qreal spacing);
103 qreal horizontalSpacing()
const;
104 qreal verticalSpacing()
const;
106 void removeAt(
int index);
107 void setGeometry(
const QRectF &rect);
Represents an edge (anchor) in the internal graph.
#define QT_END_NAMESPACE
This macro expands to.
The QGraphicsAnchor class represents an anchor between two items in a QGraphicsAnchorLayout.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QObject class is the base class of all Qt objects.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QGraphicsLayoutItem class can be inherited to allow your custom items to be managed by layouts...
The QGraphicsAnchorLayout class provides a layout where one can anchor widgets together in Graphics V...
QSizePolicy::Policy sizePolicy
the size policy for the QGraphicsAnchor.
The QGraphicsLayout class provides the base class for all layouts in Graphics View.
#define Q_DECLARE_PRIVATE(Class)
qreal spacing
the preferred space between items in the QGraphicsAnchorLayout.
QGraphicsAnchorLayout private methods and attributes.