42 #include "private/qdeclarativelayoutitem_p.h" qreal y() const
Returns the y-coordinate of the rectangle's top edge.
#define QT_END_NAMESPACE
This macro expands to.
virtual void setGeometry(const QRectF &rect)
This virtual function sets the geometry of the QGraphicsLayoutItem to rect, which is in parent coordi...
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 QDeclarativeItem class provides the most basic of all visual items in QML.
qreal height() const
Returns the height of the rectangle.
qreal width() const
Returns the width of the rectangle.
void setX(qreal x)
Set's the x coordinate of the item's position.
qreal x() const
Returns the x-coordinate of the rectangle's left edge.
QDeclarativeLayoutItem(QDeclarativeItem *parent=0)
void setY(qreal y)
Set's the y coordinate of the item's position.
void setGraphicsItem(QGraphicsItem *item)
If the QGraphicsLayoutItem represents a QGraphicsItem, and it wants to take advantage of the automati...
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
This pure virtual function returns the size hint for which of the QGraphicsLayoutItem, using the width or height of constraint to constrain the output.