Declare some utilities functions for QLayout. More...
Functions | |
| void | qtlLayoutInsertRows (QGridLayout *layout, int atRow, int rowCount=1) |
| Insert one or more rows in a QGridLayout. More... | |
Declare some utilities functions for QLayout.
Qtl, Qt utility library.
| void qtlLayoutInsertRows | ( | QGridLayout * | layout, |
| int | atRow, | ||
| int | rowCount = 1 |
||
| ) |
Insert one or more rows in a QGridLayout.
All widgets below the inserted row are moved downwards. The inserted rows are empty.
Limitation: The moved widgets shall use only one cell. If any item to move uses a row span or column span larger that 1, it will be moved to one single cell after row insertion.
| [in,out] | layout | The layout to modify. |
| [in] | atRow | Position of the row to insert. |
| [in] | rowCount | Number of rows to insert, 1 by default. |