you could place for example empty labels on position (0,0), (0,1) and so on to solve this issue

this would look like this:
Qt Code:
  1. QLabel *label = new QLabel("");
  2. QGridLayout *layout = new QGridLayout();
  3. layout->addWidget(label,0,0,2,1);
  4. layout->addWidget(yourGroupBox,2,1);
  5. //add some additional label to place your groupbox at 2,1 (wherever this might be)
To copy to clipboard, switch view to plain text mode