Hi all,
I am testing some things in the QtCreator. I made simple formular with groupBox. I added grid layout to the groupBox to position all the containing objects in grid.
I am trying to do the same in cpp file (programmatically), but the layout didn't get set. I use
Qt Code:
ui->groupBox_main->setLayout(layout);To copy to clipboard, switch view to plain text mode
where groupBox_main is the groupBox I want to set to grid. Can anyone help a little?
Bookmarks