QwuiGridLayout Class Reference
A grid layout. This layout can be used to organise child widgets in a table.
More...
#include <qwuigridlayout.h>
List of all members.
Classes |
| class | Item |
Public Member Functions |
| | QwuiGridLayout (QwuiWebget *parent, Unit unit=RelativeStrength) |
| | QwuiGridLayout (Unit unit=RelativeStrength) |
| virtual | ~QwuiGridLayout () |
| virtual LayoutType | type () const |
| virtual void | insertItem (QwuiLayoutItem *item, int row, int column, int rowSpan=1, int columnSpan=1) |
| void | insertWebget (QwuiWebget *w, int row, int column, int rowSpan=1, int columnSpan=1) |
| void | insertStretch (int row, int column, int rowSpan=1, int columnSpan=1) |
| virtual void | removeItem (QwuiLayoutItem *item) |
| void | setRowSize (int row, int size) |
| int | rowSize (int row) |
| void | setColumnSize (int column, int size) |
| int | columnSize (int column) |
| int | rowCount () const |
| int | columnCount () const |
| virtual int | count () const |
| virtual int | indexOf (QwuiWebget *w) const |
| QPair< int, int > | coordsOf (QwuiLayoutItem *item) const |
| virtual bool | contains (QwuiWebget *w) const |
| virtual QwuiLayoutItem * | itemAt (int index) const |
| virtual QwuiLayoutItem * | takeAt (int index) |
| virtual void | render () |
Private Types |
| typedef QList< Item > | ItemList |
| typedef QList< ItemList > | ItemMatrix |
Private Member Functions |
| void | expandTo (int rows, int columns) |
| void | reduce () |
Private Attributes |
| ItemMatrix | m_items |
| QList< int > | m_rowSizes |
| QList< int > | m_columnSizes |
| int | m_count |
Detailed Description
A grid layout. This layout can be used to organise child widgets in a table.
Member Typedef Documentation
Constructor & Destructor Documentation
| QwuiGridLayout::QwuiGridLayout |
( |
QwuiWebget * |
parent, |
|
|
Unit |
unit = RelativeStrength | |
|
) |
| | |
| QwuiGridLayout::QwuiGridLayout |
( |
Unit |
unit = RelativeStrength |
) |
|
| QwuiGridLayout::~QwuiGridLayout |
( |
|
) |
[virtual] |
Member Function Documentation
| int QwuiGridLayout::columnCount |
( |
|
) |
const |
| int QwuiGridLayout::columnSize |
( |
int |
column |
) |
|
| bool QwuiGridLayout::contains |
( |
QwuiWebget * |
w |
) |
const [virtual] |
| QPair< int, int > QwuiGridLayout::coordsOf |
( |
QwuiLayoutItem * |
item |
) |
const |
| int QwuiGridLayout::count |
( |
|
) |
const [virtual] |
| void QwuiGridLayout::expandTo |
( |
int |
rows, |
|
|
int |
columns | |
|
) |
| | [private] |
| int QwuiGridLayout::indexOf |
( |
QwuiWebget * |
w |
) |
const [virtual] |
| void QwuiGridLayout::insertItem |
( |
QwuiLayoutItem * |
item, |
|
|
int |
row, |
|
|
int |
column, |
|
|
int |
rowSpan = 1, |
|
|
int |
columnSpan = 1 | |
|
) |
| | [virtual] |
| void QwuiGridLayout::insertStretch |
( |
int |
row, |
|
|
int |
column, |
|
|
int |
rowSpan = 1, |
|
|
int |
columnSpan = 1 | |
|
) |
| | |
| void QwuiGridLayout::insertWebget |
( |
QwuiWebget * |
w, |
|
|
int |
row, |
|
|
int |
column, |
|
|
int |
rowSpan = 1, |
|
|
int |
columnSpan = 1 | |
|
) |
| | |
| void QwuiGridLayout::reduce |
( |
|
) |
[private] |
| void QwuiGridLayout::render |
( |
|
) |
[virtual] |
| int QwuiGridLayout::rowCount |
( |
|
) |
const |
| int QwuiGridLayout::rowSize |
( |
int |
row |
) |
|
| void QwuiGridLayout::setColumnSize |
( |
int |
column, |
|
|
int |
size | |
|
) |
| | |
| void QwuiGridLayout::setRowSize |
( |
int |
row, |
|
|
int |
size | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following files: