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))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setWindowTitle("Simulator Selector");
|
||||
INSERT_SIMULATOR(Cable_Tester);
|
||||
INSERT_SIMULATOR(Can_Debugger);
|
||||
INSERT_SIMULATOR(Scope_Mux_Tester);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
<string>Simulator Selector</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
|
||||
@@ -6,8 +6,6 @@ NetworkError::NetworkError(QWidget *parent) : QDialog(parent), ui(new Ui::Networ
|
||||
ui->setupUi(this);
|
||||
connect(ui->exit, &QPushButton::clicked, this, &QCoreApplication::quit, Qt::QueuedConnection);
|
||||
connect(ui->close, &QPushButton::clicked, this, [=, this] { this->close(); });
|
||||
|
||||
this->setWindowTitle("Error");
|
||||
}
|
||||
|
||||
void NetworkError::set_error(QString error)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
<string>Error</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
@@ -28,7 +28,7 @@
|
||||
<string>Oops, an error occured</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -38,7 +38,7 @@
|
||||
<string>Error...</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</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)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setWindowTitle("CAN Debugger");
|
||||
|
||||
this->push_ui_item(ui->can_transceive);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
<string>CAN Debugger</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
|
||||
Reference in New Issue
Block a user