diff --git a/groundStation/gui/MicroCART/mainwindow.cpp b/groundStation/gui/MicroCART/mainwindow.cpp index cbeab62eacdfc6c9d6574e7564356c4bcab6380d..d75a5a0d1bbb9cbf570a01abb9340931876441e9 100644 --- a/groundStation/gui/MicroCART/mainwindow.cpp +++ b/groundStation/gui/MicroCART/mainwindow.cpp @@ -157,6 +157,8 @@ void MainWindow::newNodes(QStringList blocks) QComboBox * select = findChild<QComboBox *>("nodeSelect"); select->clear(); /* Hopefully this clears the list */ select->addItems(blocks); + this->findChild<QLabel *>("noGraphWarning1")->setEnabled(true); + this->findChild<QLabel *>("noGraphWarning2")->setEnabled(true); } diff --git a/groundStation/gui/MicroCART/mainwindow.ui b/groundStation/gui/MicroCART/mainwindow.ui index 5ba411f84c03973e9454634add153221024144ee..6d54681188a42502d3fe28a736d2432a384605d3 100644 --- a/groundStation/gui/MicroCART/mainwindow.ui +++ b/groundStation/gui/MicroCART/mainwindow.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>874</width> - <height>566</height> + <height>596</height> </rect> </property> <property name="windowTitle"> @@ -18,7 +18,7 @@ <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> - <number>2</number> + <number>0</number> </property> <widget class="QWidget" name="backend"> <attribute name="title"> @@ -35,7 +35,11 @@ </widget> </item> <item row="0" column="1"> - <widget class="QLineEdit" name="socketPath"/> + <widget class="QLineEdit" name="socketPath"> + <property name="enabled"> + <bool>false</bool> + </property> + </widget> </item> </layout> </item> @@ -297,6 +301,34 @@ <string>Navigation</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QLabel" name="noGraphWarning1"> + <property name="font"> + <font> + <pointsize>32</pointsize> + <weight>75</weight> + <bold>true</bold> + <underline>true</underline> + </font> + </property> + <property name="text"> + <string>NO CONTROL GRAPH LOADED!</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="noGraphWarning2"> + <property name="text"> + <string>These controls won't work right unless the correct control graph is loaded.</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item>