tcp解析和无线脑电采集
This commit is contained in:
28
testNetGUI/widget.h
Normal file
28
testNetGUI/widget.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef WIDGET_H
|
||||
#define WIDGET_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "datatype.h"
|
||||
#include "tcpclient.h"
|
||||
namespace Ui {
|
||||
class Widget;
|
||||
}
|
||||
|
||||
class Widget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Widget(QWidget *parent = nullptr);
|
||||
~Widget();
|
||||
private slots:
|
||||
void slotConnect();
|
||||
void slotDisCon();
|
||||
void slotSend();
|
||||
void slotRec(QByteArray &);
|
||||
private:
|
||||
Ui::Widget *ui;
|
||||
TcpClient m_TcpClent;
|
||||
};
|
||||
|
||||
#endif // WIDGET_H
|
||||
Reference in New Issue
Block a user