fix window naming
This commit is contained in:
2026-02-14 14:30:57 +01:00
parent 92b88ca522
commit 371a465cf2
6 changed files with 5 additions and 9 deletions
-1
View File
@@ -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);
+1 -1
View File
@@ -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">
-2
View File
@@ -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)
+3 -3
View File
@@ -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>
-1
View File
@@ -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);
}
+1 -1
View File
@@ -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">