更新代码

This commit is contained in:
feiyangqingyun
2021-08-22 10:57:24 +08:00
parent 17c13cbf2f
commit 885531e848
23 changed files with 338 additions and 147 deletions

View File

@@ -16,6 +16,9 @@ public:
explicit frmUdpClient(QWidget *parent = 0);
~frmUdpClient();
protected:
bool eventFilter(QObject *watched, QEvent *event);
private:
Ui::frmUdpClient *ui;
@@ -30,6 +33,7 @@ private slots:
void append(int type, const QString &data, bool clear = false);
private slots:
void error();
void readData();
void sendData(const QString &ip, int port, const QString &data);