Added logs and check with trad RM we are working ok

This commit is contained in:
Jon ESA
2026-04-01 19:42:20 +01:00
parent a21b5415fb
commit 9f0f870e6d
9 changed files with 508 additions and 427 deletions

View File

@@ -7,6 +7,8 @@ class QLabel;
class QLineEdit;
class QTextEdit;
class GamesPanel;
class LogPanel;
class PowerPanel;
class SettingsTree;
class VersionsPanel;
@@ -23,13 +25,10 @@ public:
void setSettingsTree(SettingsTree *tree);
void setGamesPanel(GamesPanel *panel);
void setVersionsPanel(VersionsPanel *panel);
void setPowerPanel(PowerPanel *panel);
void setLogPanel(LogPanel *panel);
bool isConnected() const;
// Called by main when user selects a tab for the first time
void requestGamesData();
void requestVersionsData();
void requestSettingsData();
public slots:
void startConnection();
void closeConnection();
@@ -45,17 +44,15 @@ private:
void handleProtocol(const QString &msg);
void broadcast(const QString &line);
QLineEdit *m_urlEdit = nullptr;
QLabel *m_statusLabel = nullptr;
QWebSocket m_socket;
QLineEdit *m_urlEdit = nullptr;
QLabel *m_statusLabel = nullptr;
QWebSocket m_socket;
QList<QTextEdit *> m_logs;
SettingsTree *m_settingsTree = nullptr;
GamesPanel *m_gamesPanel = nullptr;
VersionsPanel *m_versionsPanel = nullptr;
QStringList m_settingsKeys;
int m_rnpCount = -1;
bool m_gamesRequested = false;
bool m_versionsRequested = false;
bool m_settingsRequested = false;
SettingsTree *m_settingsTree = nullptr;
GamesPanel *m_gamesPanel = nullptr;
VersionsPanel *m_versionsPanel = nullptr;
PowerPanel *m_powerPanel = nullptr;
LogPanel *m_logPanel = nullptr;
QStringList m_settingsKeys;
int m_rnpCount = -1;
};