QtlMovie 1.12 (A specialized FFmpeg front-end)
QtlLayoutUtils.h File Reference

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...
 

Detailed Description

Declare some utilities functions for QLayout.

Qtl, Qt utility library.

Function Documentation

◆ qtlLayoutInsertRows()

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.

Parameters
[in,out]layoutThe layout to modify.
[in]atRowPosition of the row to insert.
[in]rowCountNumber of rows to insert, 1 by default.