提交原始齿轮泵代码
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#include "dlgdrawinit.h"
|
||||
#include "ui_dlgdrawinit.h"
|
||||
#include "MyInputMethod.h"
|
||||
dlgDrawInit::dlgDrawInit(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::dlgDrawInit)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
dlgDrawInit::~dlgDrawInit()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
int dlgDrawInit::getWidth(){
|
||||
return ui->spinBoxWidth->value();
|
||||
}
|
||||
|
||||
int dlgDrawInit::getHeight(){
|
||||
return ui->spinBoxHeight->value();
|
||||
}
|
||||
|
||||
int dlgDrawInit::setWidth(int w){
|
||||
ui->spinBoxWidth->setValue(w);
|
||||
return w;
|
||||
}
|
||||
int dlgDrawInit::setHeight(int h){
|
||||
ui->spinBoxHeight->setValue(h);
|
||||
return h;
|
||||
}
|
||||
void dlgDrawInit::on_pushButtonOK_pressed()
|
||||
{
|
||||
|
||||
emit dlgDrawOK();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user