Inheritance diagram for DzGridLayout:
Methods | |
void | addLayout (DzLayout layout, Number row, Number col, Number rowSpan=1, Number colSpan=1) |
void | addMultiCellLayout (DzLayout layout, Number fromRow, Number toRow, Number fromCol, Number toCol) |
void | addMultiCellWidget (DzWidget widget, Number fromRow, Number toRow, Number fromCol, Number toCol) |
void | addWidget (DzWidget widget, Number row, Number col, Number rowSpan=1, Number colSpan=1) |
Number | colSpacing (Number col) const |
Number | colStretch (Number col) const |
Number | rowSpacing (Number row) const |
Number | rowStretch (Number row) const |
void | setColSpacing (Number col, Number minSize) |
void | setColStretch (Number col, Number stretch) |
void | setRowSpacing (Number row, Number minSize) |
void | setRowStretch (Number row, Number stretch) |
Constructors | |
DzGridLayout (DzLayout parent) | |
DzGridLayout (DzWidget parent) |
DzGridLayout::DzGridLayout | ( | DzWidget | parent | ) |
Creates a grid layout that manages the children widgets of the given parent widget
DzGridLayout::DzGridLayout | ( | DzLayout | parent | ) |
Creates a grid layout as a sub-layout of the given layout
void DzGridLayout::addLayout | ( | DzLayout | layout, | |
Number | row, | |||
Number | col, | |||
Number | rowSpan = 1 , |
|||
Number | colSpan = 1 | |||
) |
Adds the given layout to the items managed by this layout
layout | The layout to add to this layout | |
row | The row to insert the layout into. | |
col | The column to insert the layout into. | |
rowspan | The number of rows the layout should span (1 if not specified) | |
colspan | The number of columns the layout should span (1 if not specified) |
void DzGridLayout::addMultiCellLayout | ( | DzLayout | layout, | |
Number | fromRow, | |||
Number | toRow, | |||
Number | fromCol, | |||
Number | toCol | |||
) |
void DzGridLayout::addMultiCellWidget | ( | DzWidget | widget, | |
Number | fromRow, | |||
Number | toRow, | |||
Number | fromCol, | |||
Number | toCol | |||
) |
void DzGridLayout::addWidget | ( | DzWidget | widget, | |
Number | row, | |||
Number | col, | |||
Number | rowSpan = 1 , |
|||
Number | colSpan = 1 | |||
) |
Adds the given widget to the items managed by this layout
widget | The widget to add to the layout | |
row | The row to insert the widget into. | |
col | The column to insert the widget into. | |
rowspan | The number of rows the widget should span (1 if not specified) | |
colspan | The number of columns the widget should span (1 if not specified) |
Sets the minimum width for the given column
Sets the relative amount of stretch for the given column
Sets the minimum height for the given row
Sets the relative amount of stretch for the given row