-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomainCriteria.cpp
39 lines (34 loc) · 968 Bytes
/
domainCriteria.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "domainCriteria.h"
//#include "ui_domainCriteria.h"
domainCriteria::domainCriteria(SimpleView *simpleView, QDialog *parent) :
QDialog(parent),
domainui(new Ui::DomainCriteria)
{
domainStdAngle = 180.0 ;
domainStdValue = 0.5;
qDebug() << "domain :::" << domainStdAngle << domainStdValue;
domainui->setupUi(this);
main3D = simpleView;
}
domainCriteria::~domainCriteria()
{
delete domainui;
}
double domainCriteria::getDomainStdAngle()
{
qDebug() << "return angle:" << domainStdAngle;
return domainStdAngle;
}
double domainCriteria::getDomainStdValue()
{
qDebug() << "return value:" << domainStdValue;
return domainStdValue;
}
void domainCriteria::on_domainStdValue_LE_editingFinished()
{
domainStdValue = this->domainui->domainStdValue_LE->text().toDouble();
}
void domainCriteria::on_domainStdAngle_LE_editingFinished() {
domainStdAngle = this->domainui->domainStdAngle_LE->text().toDouble();
qDebug() << "domain angle:" << domainStdAngle;
}