Packets are shown on screen

This commit is contained in:
Ollo
2023-08-17 21:51:03 +02:00
parent 536779910e
commit c5bfaa2a4a
4 changed files with 21 additions and 12 deletions

View File

@@ -3,13 +3,17 @@
#include <QAbstractItemModel>
#include <QUdpSocket>
#include "mainwindow.h"
class MainWindow;
class UdpLedServer : public QObject
{
Q_OBJECT
public:
explicit UdpLedServer (QObject *parent = nullptr);
/*UdpLedServer (QObject *parent = nullptr); */
UdpLedServer (QObject *parent = nullptr, MainWindow *window = nullptr);
private:
void initSocket();