Sat, 14 Oct 2023 11:23:24 +0200
Load and show current calibration data.
310 | 1 | #ifndef _MONISPINDELS_H |
2 | #define _MONISPINDELS_H | |
3 | ||
4 | #include <QDialog> | |
5 | #include <QtWidgets/QGridLayout> | |
6 | #include <QtWidgets/QGroupBox> | |
7 | #include <QtWidgets/QHBoxLayout> | |
8 | #include <QtWidgets/QHeaderView> | |
9 | #include <QtWidgets/QPushButton> | |
10 | #include <QtWidgets/QTableWidget> | |
11 | ||
12 | namespace Ui { | |
13 | class MoniSpindels; | |
14 | } | |
15 | ||
16 | class MoniSpindels : public QDialog | |
17 | { | |
18 | Q_OBJECT | |
19 | ||
20 | public: | |
21 | explicit MoniSpindels(QWidget *parent = nullptr); | |
22 | ~MoniSpindels(); | |
23 | ||
24 | signals: | |
25 | void setStatus(QString); | |
329
b57299738980
Added iSpindel detail screen
Michiel Broek <mbroek@mbse.eu>
parents:
311
diff
changeset
|
26 | void updateiSpindel(QString); |
310 | 27 | |
28 | private slots: | |
29 | void on_editButton_clicked(); | |
503
61c114afb0ee
Basic setup for iSpindel calibration.
Michiel Broek <mbroek@mbse.eu>
parents:
329
diff
changeset
|
30 | void on_calButton_clicked(); |
310 | 31 | void refreshTable(void); |
32 | ||
311
449116c083bd
Respond to websocket ping. Added iSpindels monitor overview.
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
33 | public slots: |
449116c083bd
Respond to websocket ping. Added iSpindels monitor overview.
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
34 | void refreshiSpindels(QString); |
449116c083bd
Respond to websocket ping. Added iSpindels monitor overview.
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
35 | |
310 | 36 | private: |
37 | QGridLayout *gridLayout; | |
311
449116c083bd
Respond to websocket ping. Added iSpindels monitor overview.
Michiel Broek <mbroek@mbse.eu>
parents:
310
diff
changeset
|
38 | QTableWidget *tableiSpindels; |
310 | 39 | QGroupBox *groupBox; |
40 | QHBoxLayout *horizontalLayout; | |
41 | QPushButton *quitButton; | |
42 | ||
43 | void edit(int recno); | |
503
61c114afb0ee
Basic setup for iSpindel calibration.
Michiel Broek <mbroek@mbse.eu>
parents:
329
diff
changeset
|
44 | void cal(int recno); |
310 | 45 | }; |
46 | ||
47 | #endif |