yes, if I need to add buttons?? plz kindly help me, i am in a bit hurry, i need to add two push buttons (OK and Cancel)
If you want push buttons then add them, what is stopping you from doing that?
Did you try somting?

Any way here is an example (just an example)
Qt Code:
  1. void updateView(void)
  2. {
  3. if(mGroup)
  4. delete mGroup;
  5.  
  6. mGroup = new QGroupBox;
  7.  
  8. if(mGroup->layout())
  9. delete mGroup->layout();
  10.  
  11. QVBoxLayout * layout = new QVBoxLayout;
  12. layout->setSpacing(0);
  13.  
  14. if(mModel != 0)
  15. for(int i = 0; i < mModel->rowCount(); i++)
  16. layout->addWidget(new QRadioButton(mModel->index(i, mColumn).data().toString()));
  17.  
  18. mGroup->setLayout(layout);
  19. mLayout->addWidget(mGroup, 0, 0, 1, 2); // Here
  20. mLayout->addWidget(new QPushButton("Next >"), 1, 0, 1, 1); // Here
  21. mLayout->addWidget(new QPushButton("Cancel"), 1, 1, 1, 1); // Here
  22. update();
  23. }
To copy to clipboard, switch view to plain text mode