mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
client
fix window naming
This commit is contained in:
@@ -11,7 +11,6 @@ MainWindow::MainWindow(QUrl ws_url, QWidget *parent)
|
|||||||
m_error_dialog(new NetworkError(this))
|
m_error_dialog(new NetworkError(this))
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->setWindowTitle("Simulator Selector");
|
|
||||||
INSERT_SIMULATOR(Cable_Tester);
|
INSERT_SIMULATOR(Cable_Tester);
|
||||||
INSERT_SIMULATOR(Can_Debugger);
|
INSERT_SIMULATOR(Can_Debugger);
|
||||||
INSERT_SIMULATOR(Scope_Mux_Tester);
|
INSERT_SIMULATOR(Scope_Mux_Tester);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>MainWindow</string>
|
<string>Simulator Selector</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ NetworkError::NetworkError(QWidget *parent) : QDialog(parent), ui(new Ui::Networ
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
connect(ui->exit, &QPushButton::clicked, this, &QCoreApplication::quit, Qt::QueuedConnection);
|
connect(ui->exit, &QPushButton::clicked, this, &QCoreApplication::quit, Qt::QueuedConnection);
|
||||||
connect(ui->close, &QPushButton::clicked, this, [=, this] { this->close(); });
|
connect(ui->close, &QPushButton::clicked, this, [=, this] { this->close(); });
|
||||||
|
|
||||||
this->setWindowTitle("Error");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetworkError::set_error(QString error)
|
void NetworkError::set_error(QString error)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Dialog</string>
|
<string>Error</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<string>Oops, an error occured</string>
|
<string>Oops, an error occured</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<string>Error...</string>
|
<string>Error...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Can_Debugger::Can_Debugger(Web_socket_wrapper *web_socket, QWidget *parent)
|
|||||||
: Simulator_base("Can Debugger", web_socket, parent), ui(new Ui::Can_Debugger)
|
: Simulator_base("Can Debugger", web_socket, parent), ui(new Ui::Can_Debugger)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->setWindowTitle("CAN Debugger");
|
|
||||||
|
|
||||||
this->push_ui_item(ui->can_transceive);
|
this->push_ui_item(ui->can_transceive);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>MainWindow</string>
|
<string>CAN Debugger</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="centralwidget">
|
<widget class="QWidget" name="centralwidget">
|
||||||
<layout class="QGridLayout" name="gridLayout_8">
|
<layout class="QGridLayout" name="gridLayout_8">
|
||||||
|
|||||||
Reference in New Issue
Block a user