QwuiBoxLayout Class Reference
Box layout used to lay out widgets horizontally or vertically. This is the base class used for QwuiHBoxLayout and QwuiVBoxLayout.
More...
#include <qwuiboxlayout.h>
List of all members.
Public Member Functions |
| QwuiBoxLayout (QwuiWebget *parent, Unit unit=RelativeStrength) |
| QwuiBoxLayout (Unit unit=RelativeStrength) |
virtual | ~QwuiBoxLayout () |
virtual void | addItem (QwuiLayoutItem *item, int size=1) |
void | addWebget (QwuiWebget *w, int size=1) |
void | addLayout (QwuiLayout *l, int size=1) |
void | addStretch (int size=1) |
virtual void | insertItem (int index, QwuiLayoutItem *item, int size=1) |
void | insertWebget (int index, QwuiWebget *w, int size=1) |
void | insertLayout (int index, QwuiLayout *l, int size=1) |
void | insertStretch (int index, int size=1) |
virtual void | removeItem (QwuiLayoutItem *item) |
virtual int | count () const |
virtual int | indexOf (QwuiWebget *w) const |
virtual bool | contains (QwuiWebget *w) const |
virtual QwuiLayoutItem * | itemAt (int index) const |
virtual QwuiLayoutItem * | takeAt (int index) |
void | itemSize (int index, int size) |
Protected Member Functions |
QPair< QwuiLayoutItem *, int > | boxItemAt (int index) const |
Private Types |
typedef QList< QPair
< QwuiLayoutItem *, int > > | ItemList |
Private Attributes |
ItemList | m_items |
Detailed Description
Box layout used to lay out widgets horizontally or vertically. This is the base class used for QwuiHBoxLayout and QwuiVBoxLayout.
Member Typedef Documentation
Constructor & Destructor Documentation
QwuiBoxLayout::QwuiBoxLayout |
( |
QwuiWebget * |
parent, |
|
|
Unit |
unit = RelativeStrength | |
|
) |
| | |
QwuiBoxLayout::QwuiBoxLayout |
( |
Unit |
unit = RelativeStrength |
) |
|
QwuiBoxLayout::~QwuiBoxLayout |
( |
|
) |
[virtual] |
Member Function Documentation
void QwuiBoxLayout::addItem |
( |
QwuiLayoutItem * |
item, |
|
|
int |
size = 1 | |
|
) |
| | [virtual] |
void QwuiBoxLayout::addLayout |
( |
QwuiLayout * |
l, |
|
|
int |
size = 1 | |
|
) |
| | |
void QwuiBoxLayout::addStretch |
( |
int |
size = 1 |
) |
|
void QwuiBoxLayout::addWebget |
( |
QwuiWebget * |
w, |
|
|
int |
size = 1 | |
|
) |
| | |
QPair< QwuiLayoutItem *, int > QwuiBoxLayout::boxItemAt |
( |
int |
index |
) |
const [protected] |
bool QwuiBoxLayout::contains |
( |
QwuiWebget * |
w |
) |
const [virtual] |
int QwuiBoxLayout::count |
( |
|
) |
const [virtual] |
int QwuiBoxLayout::indexOf |
( |
QwuiWebget * |
w |
) |
const [virtual] |
void QwuiBoxLayout::insertItem |
( |
int |
index, |
|
|
QwuiLayoutItem * |
item, |
|
|
int |
size = 1 | |
|
) |
| | [virtual] |
void QwuiBoxLayout::insertLayout |
( |
int |
index, |
|
|
QwuiLayout * |
l, |
|
|
int |
size = 1 | |
|
) |
| | |
void QwuiBoxLayout::insertStretch |
( |
int |
index, |
|
|
int |
size = 1 | |
|
) |
| | |
void QwuiBoxLayout::insertWebget |
( |
int |
index, |
|
|
QwuiWebget * |
w, |
|
|
int |
size = 1 | |
|
) |
| | |
void QwuiBoxLayout::itemSize |
( |
int |
index, |
|
|
int |
size | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following files: