-
Notifications
You must be signed in to change notification settings - Fork 46
/
tab_eeprom.h
61 lines (50 loc) · 1.14 KB
/
tab_eeprom.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#include <QWidget>
#include <fstream>
#include <stdint.h>
#include <QList>
class MyThread;
class QwtPlotCurve;
class QwtPlot;
class QStatusBar;
class QCheckBox;
class QTreeWidget;
class QTreeWidgetItem;
class QTabWidget;
class QPushButton;
class QLineEdit;
class QLabel;
class TabEEPROM : public QWidget
{
Q_OBJECT
public:
TabEEPROM(QWidget *parent = 0);
// float stepsperunit[4];
// float vmax[4];
// float amax[4];
// float acceleration, accelerationRetract;
// float vxyjerk,vzjerk;
// float vmin,vmin_travel;
// float tmin_segment;
QLineEdit *lEstepsperunit[4];
QLineEdit *lEvmax[4];
QLineEdit *lEamax[4];
QLineEdit *lEacceleration;
QLineEdit *lEaccelerationRetract;
QLineEdit *lEvxyjerk;
QLineEdit *lEvzjerk;
QLineEdit *lEvmin;
QLineEdit *lEvmin_travel;
QLineEdit *lEtmin_segment;
QLineEdit *lEPIDp,*lEPIDd,*lEPIDi;
QPushButton *pbRead,*pbWrite,*pbStore,*pbReset,*pbFactorReset;
QLabel *lbAccDis,*lbAccTime;
QLabel *lbAccDis100,*lbAccTime100;
QLabel *lbStepRate;
void EEPROM_recalculate();
public slots:
//void setWasRead();
//void quit();
void changed();
private:
QPushButton *test;
};