1. KDE_Resize::KDE_Resize()
  2. {
  3. QWidget *widget = new QWidget( this );
  4. ui.setupUi( widget );
  5. widget->setFixedSize(QSize(431, 573));
  6. widget->setMinimumWidth(431);
  7.  
  8. QObject::connect(ui.CancelButton, SIGNAL(clicked()), this, SLOT(close()));
  9. QObject::connect(ui.GoButton, SIGNAL(clicked()), this, SLOT(GoClicked()));
  10.  
  11. //Setup MaxDimTextBox:
  12. QObject::connect(ui.MaxDimTextBox, SIGNAL(textChanged(QString)), this, SLOT(MaxDimValueChanged()));
  13. ui.MaxDimTextBox->setValidator(new QIntValidator(0, 99999, this));
  14.  
  15. }
  16.