-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQTCPIPControlTester.h
More file actions
40 lines (30 loc) · 862 Bytes
/
Copy pathQTCPIPControlTester.h
File metadata and controls
40 lines (30 loc) · 862 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
#ifndef QTCPIPCONTROLTESTER_H
#define QTCPIPCONTROLTESTER_H
#include <QMainWindow>
#include "QTCPIP.h"
namespace Ui
{
class QTelnetTester;
}
class QTelnetTester : public QMainWindow
{
Q_OBJECT
Ui::QTelnetTester *ui;
QTelnet telnet;
public:
explicit QTelnetTester(QWidget *parent = 0);
~QTelnetTester();
private slots:
void onStateChanged(QAbstractSocket::SocketState s);
void on_btConnect_clicked();
void on_btExecuteSequence_clicked();
void on_btResetSystem_clicked();
void on_btCycleSequence_clicked();
void on_btCycleSequenceWithIndividualCommandUpdate_clicked();
void on_btStopCycling_clicked();
void onCommand(const QString &cmd);
public slots:
void setStatusText(const QString &msg, bool onMainWindow = false, bool AddNewLine = true);
void addText(const char *msg, int count);
};
#endif // QTCPIPCONTROLTESTER_H