liblancelot
NodeLayout.cpp
Go to the documentation of this file.
33 NodeLayout::NodeCoordinate::NodeCoordinate(qreal xRelative, qreal yRelative, qreal xAbsolute, qreal yAbsolute)
214 void NodeLayout::addItem(QGraphicsLayoutItem * item, NodeCoordinate topLeft, NodeCoordinate bottomRight)
L_Override QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
Definition: NodeLayout.cpp:189
void addItem(QGraphicsLayoutItem *item)
Adds item at top-left corner, with automatic sizing (using sizeHint of the item)
Definition: NodeLayout.cpp:209
NodeLayout(QGraphicsLayoutItem *parent=0)
Creates a new Lancelot::NodeLayout.
Definition: NodeLayout.cpp:179
static NodeCoordinate simple(qreal x, qreal y, CoordinateType xType=Relative, CoordinateType yType=Relative)
Definition: NodeLayout.cpp:36
L_Override void setGeometry(const QRectF &rect)
Definition: NodeLayout.cpp:260
L_Override QGraphicsLayoutItem * itemAt(int i) const
Definition: NodeLayout.cpp:242
NodeCoordinate(qreal xRelative=0, qreal yRelative=0, qreal xAbsolute=0, qreal yAbsolute=0)
Position is calculated: x = parentLeft + (xRelative * parentWidth) + xAbsolute y = parentTop + (yRela...
Definition: NodeLayout.cpp:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.