-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
57 lines (45 loc) · 1.28 KB
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "mydobot.h"
#include "alertdialog.h"
#include <QSerialPort>
#include <QTimer>
#include <QUdpSocket>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
public slots:
void on_command_received(QString command);
void readUdpData();
private slots:
void on_getPoseTimer();
void on_buttonSearch_clicked();
void on_listDobots_activated(int index);
void on_buttonCheckAlarm_clicked();
void on_buttonClearAlarms_clicked();
void SetPump();
void on_buttonGoHomeSafe_clicked();
void on_buttonGoHomeSimple_clicked();
void on_buttonExecPtpJ_clicked();
void on_buttonExecPtpL_clicked();
void on_Jog_pressed(int index);
void on_Jog_released();
void on_radioPumpOn_toggled(bool checked);
void on_radioPumpPush_toggled(bool checked);
void on_listJogMode_currentIndexChanged(int index);
void on_buttonClearQueue_clicked();
private:
Ui::MainWindow *ui;
QTimer *getPoseTimer;
//QList<QSerialPort*> *serials;
QVector<MyDobot*> *dobot;
QUdpSocket udpSocketGet;
};
#endif // MAINWINDOW_H