Here's sortdialog.h:
Qt Code:
  1. class SortDialog : public QDialog, Ui::Dialog
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. SortDialog(QWidget *parent = 0);
  7.  
  8. void setColumnRange(QChar first, QChar last);
  9.  
  10. private slots:
  11. void moreClicked(); // added a slot
  12. };
To copy to clipboard, switch view to plain text mode 
And here's the constructor and the slot:
Qt Code:
  1. SortDialog::SortDialog(QWidget *parent)
  2. : QDialog(parent)
  3. {
  4. setupUi(this);
  5. setFixedSize(400,150);
  6. buttonBox->setFixedSize(81, 100); // change size in your form
  7. More->move(QPoint(290,55)); // move this pushbutton in your form
  8. connect(More,SIGNAL(clicked()),this,SLOT(moreClicked()));
  9. setColumnRange('A', 'Z');
  10. }
  11.  
  12. void SortDialog::moreClicked(){
  13. setFixedSize(400,426); // resize dialog to show all group boxes using original size from ui_sortdialog.h
  14. }
To copy to clipboard, switch view to plain text mode 
You can move "More" and change the size of the button box in your form and do away those two statements.