-
Notifications
You must be signed in to change notification settings - Fork 9
/
calibratedialog.h
46 lines (39 loc) · 1000 Bytes
/
calibratedialog.h
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
45
46
#ifndef CALIBRATEDIALOG_H
#define CALIBRATEDIALOG_H
#include <QDialog>
#include <QInputDialog>
#include <QDebug>
#include <QMessageBox>
#include <QVector4D>
namespace Ui {
class CalibrateDialog;
}
class CalibrateDialog : public QDialog
{
Q_OBJECT
public:
explicit CalibrateDialog(QWidget *parent = 0);
~CalibrateDialog();
bool autoCalibrateX();
bool autoCalibrateY();
bool autoCalibrateZ();
bool autoCalibrateE();
void setAutoCalibrateX(bool);
void setAutoCalibrateY(bool);
void setAutoCalibrateZ(bool);
void setAutoCalibrateE(bool);
void setXStepsPerMm(double);
void setYStepsPerMm(double);
void setZStepsPerMm(double);
void setEStepsPerMm(double);
QVector4D getCallibrationsSetting();
signals:
void writeToPrinter(QString);
private slots:
void on_calibrateXBtn_clicked();
void on_calibrateYBtn_clicked();
void on_calibrateZBtn_clicked();
private:
Ui::CalibrateDialog *ui;
};
#endif // CALIBRATEDIALOG_H