$addWidget(<widget>,<row>,<column>) |
Adds a widget to this layout placing it at position <row>,<column> in the grid |
$addMultiCellWidget(<widet>,<from_row>,<to_row>,<from_col>,<to_col>) |
Adds a widget to this layout spanning multiple grid cells |
$setRowStretch(<row>,<stretch_value>) |
Sets the stretch value for a particular row of this layout. The <stretch_value> must be a positive integer. The rows with bigger stretch values will take more space in the layout. |
$setColStretch(<column>,<stretch_value>) |
Sets the stretch value for a particular column in this layout. The <stretch_value> must be a positive integer. The rows with bigger stretch values will take more space in the layout. |
$addRowSpacing(<row>,<spacing>) |
Sets the minimum height of the specified <row> to <spacing> which must be a positive integer |
$addColSpacing(<column>,<spacing>) |
Sets the minimum width of the specigfied <column> to <spacing> which must be a positive integer |
$setSpacing(<value>) |
Sets the default spacing of the widgets in pixels |
$setMargin(<value>) |
Sets the dimension of the layout margin : the distance from the border to the outermost child widget edges. |
$setResizeMode(<mode>) |
Sets the resize mode of the parent widget in relation to this layout. <mode> can be one of:<br> Auto: this is the default<br> Fixed: the parent widget of this layout is resized to the "sizeHint" value and it cannot be resized by the user.<br> Minimum: the minimum size of the parent widget of this layout is set to minimumSize() and it cannot be smaller<br> FreeResize: the parent widget of this layout is not constrained at all<br> |