Definition at line 58 of file qgraphicslinearlayout.h.
#include <qgraphicslinearlayout.h>

Public Member Functions |
|
| QGraphicsLinearLayout (QGraphicsLayoutItem *parent=0) | |
| QGraphicsLinearLayout (Qt::Orientation orientation, QGraphicsLayoutItem *parent=0) | |
| virtual | ~QGraphicsLinearLayout () |
| void | setOrientation (Qt::Orientation orientation) |
| Qt::Orientation | orientation () const |
| void | addItem (QGraphicsLayoutItem *item) |
| void | addStretch (int stretch=1) |
| void | insertItem (int index, QGraphicsLayoutItem *item) |
| void | insertStretch (int index, int stretch=1) |
| void | removeItem (QGraphicsLayoutItem *item) |
| void | removeAt (int index) |
| void | setSpacing (qreal spacing) |
| qreal | spacing () const |
| void | setItemSpacing (int index, qreal spacing) |
| qreal | itemSpacing (int index) const |
| void | setStretchFactor (QGraphicsLayoutItem *item, int stretch) |
| int | stretchFactor (QGraphicsLayoutItem *item) const |
| void | setAlignment (QGraphicsLayoutItem *item, Qt::Alignment alignment) |
| Qt::Alignment | alignment (QGraphicsLayoutItem *item) const |
| void | setGeometry (const QRectF &rect) |
| int | count () const |
| QGraphicsLayoutItem * | itemAt (int index) const |
| void | invalidate () |
| QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const |
| void | dump (int indent=0) const |
| QGraphicsLinearLayout | ( | QGraphicsLayoutItem * | parent = 0 |
) |
| QGraphicsLinearLayout | ( | Qt::Orientation | orientation, |
| QGraphicsLayoutItem * | parent = 0 |
||
| ) |
| virtual ~QGraphicsLinearLayout | ( | ) | [virtual] |
| void setOrientation | ( | Qt::Orientation | orientation | ) |
| Qt::Orientation orientation | ( | ) | const |
| void addItem | ( | QGraphicsLayoutItem * | item | ) | [inline] |
Definition at line 68 of file qgraphicslinearlayout.h.
{ insertItem(-1, item); }
| void addStretch | ( | int | stretch = 1 |
) | [inline] |
Definition at line 69 of file qgraphicslinearlayout.h.
{ insertStretch(-1, stretch); }
| void insertItem | ( | int | index, |
| QGraphicsLayoutItem * | item | ||
| ) |
| void insertStretch | ( | int | index, |
| int | stretch = 1 |
||
| ) |
| void removeItem | ( | QGraphicsLayoutItem * | item | ) |
| void removeAt | ( | int | index | ) | [virtual] |
Implements QGraphicsLayout.
| void setSpacing | ( | qreal | spacing | ) |
| qreal spacing | ( | ) | const |
| void setItemSpacing | ( | int | index, |
| qreal | spacing | ||
| ) |
| qreal itemSpacing | ( | int | index | ) | const |
| void setStretchFactor | ( | QGraphicsLayoutItem * | item, |
| int | stretch | ||
| ) |
| int stretchFactor | ( | QGraphicsLayoutItem * | item | ) | const |
| void setAlignment | ( | QGraphicsLayoutItem * | item, |
| Qt::Alignment | alignment | ||
| ) |
| Qt::Alignment alignment | ( | QGraphicsLayoutItem * | item | ) | const |
| void setGeometry | ( | const QRectF & | rect | ) | [virtual] |
Reimplemented from QGraphicsLayoutItem.
| int count | ( | ) | const [virtual] |
Implements QGraphicsLayout.
| QGraphicsLayoutItem* itemAt | ( | int | index | ) | const [virtual] |
Implements QGraphicsLayout.
| void invalidate | ( | ) | [virtual] |
Reimplemented from QGraphicsLayout.
| QSizeF sizeHint | ( | Qt::SizeHint | which, |
| const QSizeF & | constraint = QSizeF() |
||
| ) | const [virtual] |
Implements QGraphicsLayoutItem.
| void dump | ( | int | indent = 0 |
) | const |