I have the same question as the OP. Using the code in Santosh's response will replace whatever widgets are already in fromRow, fromColumn, not insert a new row/column. This is easy to do in Qt Designer, but I can't tell if there's a way to do it programmatically without manually moving every widget already in the QGridLayout.
Bookmarks