mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
sim base
make PUSH_UI_ITEM define so it can be ported easily from server to client and vice versa
This commit is contained in:
@@ -6,7 +6,7 @@ Can_Debugger::Can_Debugger(Web_socket_wrapper *web_socket, QWidget *parent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
this->push_ui_item(ui->can_transceive);
|
||||
this->PUSH_UI_ITEM(can_transceive);
|
||||
}
|
||||
|
||||
Can_Debugger::~Can_Debugger()
|
||||
|
||||
+10
-10
@@ -8,16 +8,16 @@ Test_Sim::Test_Sim(Web_socket_wrapper *web_socket, QWidget *parent)
|
||||
this->setWindowTitle("Test Sim");
|
||||
this->setWindowState(Qt::WindowMaximized);
|
||||
|
||||
push_ui_item(ui->button);
|
||||
push_ui_item(ui->combobox);
|
||||
push_ui_item(ui->label);
|
||||
push_ui_item(ui->slider);
|
||||
push_ui_item(ui->dial);
|
||||
push_ui_item(ui->thermo);
|
||||
push_ui_item(ui->led);
|
||||
push_ui_item(ui->checkBox);
|
||||
push_ui_item(ui->plot);
|
||||
push_ui_item(ui->table);
|
||||
PUSH_UI_ITEM(button);
|
||||
PUSH_UI_ITEM(combobox);
|
||||
PUSH_UI_ITEM(label);
|
||||
PUSH_UI_ITEM(slider);
|
||||
PUSH_UI_ITEM(dial);
|
||||
PUSH_UI_ITEM(thermo);
|
||||
PUSH_UI_ITEM(led);
|
||||
PUSH_UI_ITEM(checkBox);
|
||||
PUSH_UI_ITEM(plot);
|
||||
PUSH_UI_ITEM(table);
|
||||
}
|
||||
|
||||
Test_Sim::~Test_Sim()
|
||||
|
||||
Reference in New Issue
Block a user