diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp index d36c219..8aa5af9 100644 --- a/Qt/mainwindow.cpp +++ b/Qt/mainwindow.cpp @@ -20,6 +20,7 @@ MainWindow::MainWindow(QString host, uint16_t port, QWidget *parent) : this->setWindowTitle("Simulator Selector"); m_error_dialog->set_error("Connection timed out\nCheck if the server is running"); + ui->connection->setText("Connected to ws://" + host + ":" + QString::number(port)); //Default sim //defaultSim("CVS_I10"); diff --git a/Qt/mainwindow.ui b/Qt/mainwindow.ui index c2a5724..a3e05d7 100644 --- a/Qt/mainwindow.ui +++ b/Qt/mainwindow.ui @@ -15,7 +15,7 @@ - + @@ -29,6 +29,45 @@ + + + + + 0 + 0 + + + + TextLabel + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + +