mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
client
move sims from {} based insert to define based insert as in the server
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "ui_can_debugger.h"
|
||||
|
||||
Can_Debugger::Can_Debugger(Web_socket_wrapper *web_socket, QWidget *parent)
|
||||
: Simulator_base(web_socket, parent), ui(new Ui::Can_Debugger)
|
||||
: Simulator_base("Can Debugger", web_socket, parent), ui(new Ui::Can_Debugger)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setWindowTitle("CAN Debugger");
|
||||
|
||||
@@ -14,7 +14,7 @@ class Can_Debugger : public Simulator_base
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Can_Debugger(Web_socket_wrapper *web_socket, QWidget *parent = nullptr);
|
||||
explicit Can_Debugger(Web_socket_wrapper *web_socket = nullptr, QWidget *parent = nullptr);
|
||||
~Can_Debugger();
|
||||
|
||||
private:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "ui_test.h"
|
||||
|
||||
Test_Sim::Test_Sim(Web_socket_wrapper *web_socket, QWidget *parent)
|
||||
: Simulator_base(web_socket, parent), ui(new Ui::Test_Sim)
|
||||
: Simulator_base("Test Sim", web_socket, parent), ui(new Ui::Test_Sim)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setWindowTitle("Test Sim");
|
||||
|
||||
@@ -15,7 +15,7 @@ class Test_Sim : public Simulator_base
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Test_Sim(Web_socket_wrapper *web_socket, QWidget *parent = nullptr);
|
||||
explicit Test_Sim(Web_socket_wrapper *web_socket = nullptr, QWidget *parent = nullptr);
|
||||
~Test_Sim();
|
||||
|
||||
QLabel *id_to_label(size_t name) override;
|
||||
|
||||
Reference in New Issue
Block a user