Skip to content
Snippets Groups Projects
Commit 41f9058f authored by Paul Beuchat's avatar Paul Beuchat
Browse files

Picker GUI was missing name for the current mass LineEdit

parent 1619928d
No related branches found
No related tags found
No related merge requests found
...@@ -2132,7 +2132,7 @@ ...@@ -2132,7 +2132,7 @@
</widget> </widget>
</item> </item>
<item row="18" column="9"> <item row="18" column="9">
<widget class="QLineEdit" name="lineEdit"> <widget class="QLineEdit" name="lineEdit_current_mass">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
......
...@@ -110,14 +110,14 @@ TopBanner::TopBanner(QWidget *parent) : ...@@ -110,14 +110,14 @@ TopBanner::TopBanner(QWidget *parent) :
else if (m_type == TYPE_COORDINATOR) else if (m_type == TYPE_COORDINATOR)
{ {
// Set the label appropriate for a cooridnator // Set the label appropriate for a cooridnator
QString qstr_title = "Flying Device GUI: for COORDINATOR ID "; QString qstr_title = "Flying Agent GUI: for COORDINATOR ID ";
qstr_title.append( QString::number(m_ID) ); qstr_title.append( QString::number(m_ID) );
ui->top_banner_label->setText(qstr_title); ui->top_banner_label->setText(qstr_title);
} }
else else
{ {
// Set the label to inform the user of the error // Set the label to inform the user of the error
QString qstr_title = "Flying Device GUI: for UNKNOWN NODE TYPE"; QString qstr_title = "Flying Agent GUI: for UNKNOWN NODE TYPE";
ui->top_banner_label->setText(qstr_title); ui->top_banner_label->setText(qstr_title);
} }
...@@ -225,7 +225,7 @@ void TopBanner::loadCrazyflieContext(int ID_to_request_from_database , int emit_ ...@@ -225,7 +225,7 @@ void TopBanner::loadCrazyflieContext(int ID_to_request_from_database , int emit_
#endif #endif
// Construct and set the string for the checkbox label // Construct and set the string for the checkbox label
QString qstr_title = "Flying Device GUI: for AGENT ID "; QString qstr_title = "Flying Agent GUI: for AGENT ID ";
qstr_title.append( QString::number(m_ID) ); qstr_title.append( QString::number(m_ID) );
qstr_title.append(", connected to "); qstr_title.append(", connected to ");
qstr_title.append(qstr_crazyflie_name); qstr_title.append(qstr_crazyflie_name);
...@@ -298,7 +298,7 @@ void TopBanner::setAgentIDsToCoordinate(QVector<int> agentIDs , bool shouldCoord ...@@ -298,7 +298,7 @@ void TopBanner::setAgentIDsToCoordinate(QVector<int> agentIDs , bool shouldCoord
else else
{ {
// Set the label appropriate for a cooridnator // Set the label appropriate for a cooridnator
QString qstr_title = "Flying Device GUI: for COORDINATOR ID "; QString qstr_title = "Flying Agent GUI: for COORDINATOR ID ";
qstr_title.append( QString::number(m_ID) ); qstr_title.append( QString::number(m_ID) );
ui->top_banner_label->setText(qstr_title); ui->top_banner_label->setText(qstr_title);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment