00001 00002 //#include <scaledialog.h> 00003 #include "scaledialog.h" 00004 00005 ScaleDialog::ScaleDialog(QWidget* parent ): QDialog(), Ui::Dialog() 00006 { 00007 setupUi(this); 00008 connect(pushButton, SIGNAL(clicked()), this, SLOT(setDefault())); 00009 00010 } 00011 00012 ScaleDialog::~ScaleDialog() 00013 { 00014 } 00015 00016 void ScaleDialog::setDefault() 00017 { 00018 spinBox_X_Dimension->setValue(100); 00019 spinBox_Y_Dimension->setValue(100); 00020 00021 }