-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathminmaxintercectcheckdialog.h
More file actions
44 lines (35 loc) · 980 Bytes
/
minmaxintercectcheckdialog.h
File metadata and controls
44 lines (35 loc) · 980 Bytes
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
40
41
42
43
44
#ifndef MINMAXINTERCECTCHECKDIALOG_H
#define MINMAXINTERCECTCHECKDIALOG_H
#include <QWidget>
#include <QMessageBox>
#include <QDoubleValidator>
namespace Ui {
class MinMaxIntercectCheckDialog;
}
class MinMaxIntercectCheckDialog : public QWidget
{
Q_OBJECT
public:
explicit MinMaxIntercectCheckDialog(QWidget *parent = 0);
~MinMaxIntercectCheckDialog();
QDoubleValidator *m_validator;
QPointF m_correctMinPoint;
QPointF m_correctMaxPoint;
qreal m_minZ;
qreal m_maxZ;
bool check();
void showHint();
private:
Ui::MinMaxIntercectCheckDialog *ui;
signals:
void userError();
void back();
void next();
void result(qreal x1, qreal y1, qreal x2, qreal y2, qreal minZ, qreal maxZ);
public slots:
void getResult(QPointF minPoint, QPointF maxPoint, qreal minZ, qreal maxZ);
private slots:
void on_nextPushButton_clicked();
void on_previousPushButton_clicked();
};
#endif // MINMAXINTERCECTCHECKDIALOG_H