#include <layout.h>

They are positioned along the cells of some rectangular tables. The layout may either be a single table or a tree of nested tables.
The size of a given table column can either be set manually or be chosen from the widest widget of the column. An empty column has a AUTO_DEF width, which means it will be extended so that the layout fits its minimum width.
The process is similar for table rows. By default, there is a spacing of 4 pixels between rows and between columns, and a margin of 6 pixels around the whole layout.
Definition at line 286 of file layout.h.
Public Types | |
| enum | { AUTO_DEF = -42, AUTO_SET = -43, AUTO_ADD = -44 } |
| When the minimum size of the layout is less than the available size, the remaining pixels are equally split amongst the FILL items. More... | |
Public Member Functions | |
| Layout () | |
| void | setMargin (int m) |
| Sets the margin around the layout. | |
| void | reflow (int &nW, int &nH) |
| Sets the positions of all the widgets. | |
Private Attributes | |
| bool | mComputed |
| anonymous enum |
| Layout::Layout | ( | ) |
Definition at line 310 of file layout.cpp.
| void Layout::setMargin | ( | int | m | ) | [inline] |
| void Layout::reflow | ( | int & | nW, | |
| int & | nH | |||
| ) |
Sets the positions of all the widgets.
Definition at line 316 of file layout.cpp.
bool Layout::mComputed [private] |
1.5.5