Definition at line 60 of file qboxlayout.h.
#include <qboxlayout.h>

Public Types |
|
| enum | Direction
{ LeftToRight, RightToLeft, TopToBottom, BottomToTop, Down = TopToBottom, Up = BottomToTop } |
Public Member Functions |
|
| QBoxLayout (Direction, QWidget *parent=0) | |
| ~QBoxLayout () | |
| Direction | direction () const |
| void | setDirection (Direction) |
| void | addSpacing (int size) |
| void | addStretch (int stretch=0) |
| void | addSpacerItem (QSpacerItem *spacerItem) |
| void | addWidget (QWidget *, int stretch=0, Qt::Alignment alignment=0) |
| void | addLayout (QLayout *layout, int stretch=0) |
| void | addStrut (int) |
| void | addItem (QLayoutItem *) |
| void | insertSpacing (int index, int size) |
| void | insertStretch (int index, int stretch=0) |
| void | insertSpacerItem (int index, QSpacerItem *spacerItem) |
| void | insertWidget (int index, QWidget *widget, int stretch=0, Qt::Alignment alignment=0) |
| void | insertLayout (int index, QLayout *layout, int stretch=0) |
| int | spacing () const |
| void | setSpacing (int spacing) |
| bool | setStretchFactor (QWidget *w, int stretch) |
| bool | setStretchFactor (QLayout *l, int stretch) |
| void | setStretch (int index, int stretch) |
| int | stretch (int index) const |
| QSize | sizeHint () const |
| QSize | minimumSize () const |
| QSize | maximumSize () const |
| bool | hasHeightForWidth () const |
| int | heightForWidth (int) const |
| int | minimumHeightForWidth (int) const |
| Qt::Orientations | expandingDirections () const |
| void | invalidate () |
| QLayoutItem * | itemAt (int) const |
| QLayoutItem * | takeAt (int) |
| int | count () const |
| void | setGeometry (const QRect &) |
Protected Member Functions |
|
| void | insertItem (int index, QLayoutItem *) |
| enum Direction |
Definition at line 65 of file qboxlayout.h.
{ LeftToRight, RightToLeft, TopToBottom, BottomToTop,
Down = TopToBottom, Up = BottomToTop };
| QBoxLayout | ( | Direction | , |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| ~QBoxLayout | ( | ) |
| Direction direction | ( | ) | const |
| void setDirection | ( | Direction | ) |
| void addSpacing | ( | int | size | ) |
| void addStretch | ( | int | stretch = 0 |
) |
| void addSpacerItem | ( | QSpacerItem * | spacerItem | ) |
| void addWidget | ( | QWidget * | , |
| int | stretch = 0, |
||
| Qt::Alignment | alignment =
0 |
||
| ) |
| void addLayout | ( | QLayout * | layout, |
| int | stretch = 0 |
||
| ) |
| void addStrut | ( | int | ) |
| void addItem | ( | QLayoutItem * | ) | [virtual] |
Implements QLayout.
| void insertSpacing | ( | int | index, |
| int | size | ||
| ) |
| void insertStretch | ( | int | index, |
| int | stretch = 0 |
||
| ) |
| void insertSpacerItem | ( | int | index, |
| QSpacerItem * | spacerItem | ||
| ) |
| void insertWidget | ( | int | index, |
| QWidget * | widget, | ||
| int | stretch = 0, |
||
| Qt::Alignment | alignment =
0 |
||
| ) |
| void insertLayout | ( | int | index, |
| QLayout * | layout, | ||
| int | stretch = 0 |
||
| ) |
| int spacing | ( | ) | const |
Reimplemented from QLayout.
| void setSpacing | ( | int | spacing | ) |
Reimplemented from QLayout.
| bool setStretchFactor | ( | QWidget * | w, |
| int | stretch | ||
| ) |
| bool setStretchFactor | ( | QLayout * | l, |
| int | stretch | ||
| ) |
| void setStretch | ( | int | index, |
| int | stretch | ||
| ) |
| int stretch | ( | int | index | ) | const |
| QSize sizeHint | ( | ) | const [virtual] |
Implements QLayoutItem.
| bool hasHeightForWidth | ( | ) | const [virtual] |
Reimplemented from QLayoutItem.
| int heightForWidth | ( | int | ) | const [virtual] |
Reimplemented from QLayoutItem.
| int minimumHeightForWidth | ( | int | ) | const [virtual] |
Reimplemented from QLayoutItem.
| Qt::Orientations expandingDirections | ( | ) | const [virtual] |
Reimplemented from QLayout.
| void invalidate | ( | ) | [virtual] |
Reimplemented from QLayout.
| QLayoutItem* itemAt | ( | int | ) | const [virtual] |
Implements QLayout.
| QLayoutItem* takeAt | ( | int | ) | [virtual] |
Implements QLayout.
| int count | ( | ) | const [virtual] |
Implements QLayout.
| void insertItem | ( | int | index, |
| QLayoutItem * | |||
| ) | [protected] |