Added logs and check with trad RM we are working ok
This commit is contained in:
23
LogPanel.h
Normal file
23
LogPanel.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include <QWidget>
|
||||
#include <QMap>
|
||||
|
||||
class QCheckBox;
|
||||
class WebSocketController;
|
||||
|
||||
class LogPanel : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LogPanel(WebSocketController *ctrl, QWidget *parent = nullptr);
|
||||
void applyLogResponse(const QString &msg);
|
||||
|
||||
private slots:
|
||||
void onCheckboxToggled(const QString &name, bool checked);
|
||||
|
||||
private:
|
||||
void requestRefresh();
|
||||
|
||||
WebSocketController *m_ctrl = nullptr;
|
||||
QMap<QString, QCheckBox*> m_checkboxes;
|
||||
};
|
||||
Reference in New Issue
Block a user