Commit a89fd4d3 authored by Lorenz Meier's avatar Lorenz Meier

Minor visual style fixes

parent 76098ee1
...@@ -4,4 +4,8 @@ ...@@ -4,4 +4,8 @@
| BAT_N_CELLS | 1 | 100 | 3 | 1 | 1 | Number of SERIAL battery cells. Typically this ranges from 2S to 6S in small-scale UAVs | | BAT_N_CELLS | 1 | 100 | 3 | 1 | 1 | Number of SERIAL battery cells. Typically this ranges from 2S to 6S in small-scale UAVs |
| BAT_V_SCALING | 0.001 | 1.0 | 0.00838 | 1 | 1 | Conversion from ADC ticks to battery voltage. Depends on the connected board, calibrate with a multimeter. | | BAT_V_SCALING | 0.001 | 1.0 | 0.00838 | 1 | 1 | Conversion from ADC ticks to battery voltage. Depends on the connected board, calibrate with a multimeter. |
| MC_ATTRATE_P | 0.0 | 20.0 | 0.20 | 1 | 1 | Multirotor attitude rate control P gain. This gain controls how much of the motor thrust should be used to control angular velocity. A larger number will increase the control response, but will make the system also more twitchy. | | MC_ATTRATE_P | 0.0 | 20.0 | 0.20 | 1 | 1 | Multirotor attitude rate control P gain. This gain controls how much of the motor thrust should be used to control angular velocity. A larger number will increase the control response, but will make the system also more twitchy. |
| MC_ATTRATE_D | 0.0 | 20.0 | 0.05 | 1 | 1 | Multirotor attitude rate control D gain. A large value will allow to damp oscillations due to a high P gain, but will make the system response suspectible to noise.|
| MC_ATT_P | 0.0 | 20.0 | 0.20 | 1 | 1 | Multirotor attitude control proportional (P) gain. This defines how strong the response of the system will be to an attitude error|
| MC_ATT_D | 0.0 | 20.0 | 0.05 | 1 | 1 | Multirotor attitude control D gain. A large value will allow to damp oscillations due to a high P gain, but will make the system response suspectible to noise.|
| FW_ROLLRATE_P | 0.0 | 20.0 | 0.30 | 1 | 1 | Fixed wing roll rate control P gain. This gain controls how strong the ailerons or rudder should be actuated in order to achieve a certain roll rate. A larger number will increase the control response, but will make the system also more twitchy. | | FW_ROLLRATE_P | 0.0 | 20.0 | 0.30 | 1 | 1 | Fixed wing roll rate control P gain. This gain controls how strong the ailerons or rudder should be actuated in order to achieve a certain roll rate. A larger number will increase the control response, but will make the system also more twitchy. |
| FW_HEADING_P | 0.0 | 20.0 | 4.00 | 1 | 1 | Fixed wing heading error to bank angle gain |
\ No newline at end of file
...@@ -96,46 +96,39 @@ border: 1px solid #777777; ...@@ -96,46 +96,39 @@ border: 1px solid #777777;
margin-top: 1ex; /* leave space at the top for the title */ margin-top: 1ex; /* leave space at the top for the title */
} }
QDockWidget { QDockWidget::close-button, QDockWidget::float-button {
border: 1px solid #32345E;
/* titlebar-close-icon: url(close.png);
titlebar-normal-icon: url(undock.png);*/
}
QDockWidget::title {
text-align: left; /* align the text to the left */
background: lightgray;
padding-left: 5px;
}
QDockWidget::close-button, QDockWidget::float-button {
border: 1px solid transparent; border: 1px solid transparent;
background: darkgray; background: none;
padding: 0px; padding: 0px;
} }
QDockWidget::close-button:hover, QDockWidget::float-button:hover { QDockWidget::close-button:hover, QDockWidget::float-button:hover {
background: gray; background: none;
} }
QDockWidget::close-button:pressed, QDockWidget::float-button:pressed { QDockWidget::close-button:pressed, QDockWidget::float-button:pressed {
padding: 1px -1px -1px 1px; padding: 1px -1px -1px 1px;
} background: none;
}
QDockWidget::close-button, QDockWidget::float-button { QDockWidget {
background-color: #181820; border: 10px solid #66666B;
color: #EEEEEE; padding: 2px;
margin: 1px;
border-radius: 1px;
/*background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);*/
/* titlebar-close-icon: url(close.png);
titlebar-normal-icon: url(undock.png);*/
} }
QDockWidget::title { QDockWidget::title {
text-align: left; text-align: left;
background: #121214; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #3F556A, stop: 1 #293645);
color: #4A4A4F; color: #EDEDED;
padding-left: 5px; padding-left: 10px;
height: 10px; height: 14px;
border-bottom: 1px solid #555555; border-bottom: 1px solid #1B1F22;
border-bottom: 2px solid #2C3A4A;
} }
QSeparator { QSeparator {
...@@ -190,31 +183,36 @@ QPushButton { ...@@ -190,31 +183,36 @@ QPushButton {
min-height: 18px; min-height: 18px;
max-height: 18px; max-height: 18px;
min-width: 60px;*/ min-width: 60px;*/
border: 2px solid #4A4A4F; min-height: 20px;
border-radius: 3px; /*min-width: 24px;*/
max-height: 20px;
border: 0px solid #59666f;
border-radius: 2px;
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
} }
QPushButton:checked { QPushButton:checked {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #404040, stop: 1 #808080); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #404040, stop: 1 #808080);
border: 2px solid #379AC3; border: 0px solid #379AC3;
} }
QPushButton:pressed { QPushButton:pressed {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0); background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0);
border: 2px solid #379AC3; border: 0px solid #379AC3;
} }
QToolButton { QToolButton {
font-weight: bold; font-weight: bold;
min-height: 18px; min-height: 20px;
min-width: 24px; /*min-width: 24px;*/
max-height: 18px; max-height: 20px;
border: 2px solid #4A4A4F; border: 0px solid #4A4A4F;
border-radius: 3px; border-radius: 2px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #232228, stop: 1 #020208); padding-left: 3px;
padding-right: 3px;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #59666f, stop: 1 #414B52);
} }
QToolButton:checked { QToolButton:checked {
...@@ -228,8 +226,9 @@ QToolButton:pressed { ...@@ -228,8 +226,9 @@ QToolButton:pressed {
} }
QToolTip { QToolTip {
background-color: #090909; background-color: #3D5368;
border: 1px solid #379AC3; border: 0px solid #379AC3;
margin: 3px;
border-radius: 3px; border-radius: 3px;
color: #DDDDDF; color: #DDDDDF;
} }
......
...@@ -108,8 +108,8 @@ HSIDisplay::HSIDisplay(QWidget *parent) : ...@@ -108,8 +108,8 @@ HSIDisplay::HSIDisplay(QWidget *parent) :
laserFix(0), laserFix(0),
iruFix(0), iruFix(0),
mavInitialized(false), mavInitialized(false),
topMargin(12.0f), topMargin(18.0f),
bottomMargin(10.0f), bottomMargin(12.0f),
attControlKnown(false), attControlKnown(false),
xyControlKnown(false), xyControlKnown(false),
zControlKnown(false), zControlKnown(false),
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<number>10</number> <number>10</number>
</property> </property>
<widget class="QWidget" name="curveGroupBox" native="true"> <widget class="QWidget" name="curveGroupBox" native="true">
<layout class="QGridLayout" name="gridLayout" rowstretch="50,1"> <layout class="QGridLayout" name="gridLayout" rowstretch="50,0">
<property name="leftMargin"> <property name="leftMargin">
<number>6</number> <number>6</number>
</property> </property>
...@@ -103,8 +103,8 @@ ...@@ -103,8 +103,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>202</width> <width>884</width>
<height>488</height> <height>491</height>
</rect> </rect>
</property> </property>
</widget> </widget>
...@@ -164,6 +164,28 @@ ...@@ -164,6 +164,28 @@
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QPushButton" name="recolorButton"> <widget class="QPushButton" name="recolorButton">
<property name="toolTip"> <property name="toolTip">
......
...@@ -54,7 +54,7 @@ QGCToolBar::QGCToolBar(QWidget *parent) : ...@@ -54,7 +54,7 @@ QGCToolBar::QGCToolBar(QWidget *parent) :
// Add internal actions // Add internal actions
// Add MAV widget // Add MAV widget
symbolButton = new QToolButton(this); symbolButton = new QToolButton(this);
symbolButton->setStyleSheet("QWidget { background-color: #050508; color: #DDDDDF; background-clip: border; } QToolButton { font-weight: bold; font-size: 12px; border: 0px solid #999999; border-radius: 5px; min-width:22px; max-width: 22px; min-height: 22px; max-height: 22px; padding: 0px; margin: 0px 0px 0px 20px; background-color: none; }"); symbolButton->setStyleSheet("QWidget { background-color: #050508; color: #DDDDDF; background-clip: border; }");
addWidget(symbolButton); addWidget(symbolButton);
toolBarNameLabel = new QLabel("------", this); toolBarNameLabel = new QLabel("------", this);
...@@ -226,39 +226,6 @@ void QGCToolBar::logging(bool checked) ...@@ -226,39 +226,6 @@ void QGCToolBar::logging(bool checked)
void QGCToolBar::addPerspectiveChangeAction(QAction* action) void QGCToolBar::addPerspectiveChangeAction(QAction* action)
{ {
insertAction(toggleLoggingAction, action); insertAction(toggleLoggingAction, action);
// Set tab style
QWidget* widget = widgetForAction(action);
widget->setStyleSheet("\
* { font-weight: bold; min-height: 16px; min-width: 24px; \
border-top: 1px solid #BBBBBB; \
border-bottom: 0px; \
border-left: 1px solid #BBBBBB; \
border-right: 1px solid #BBBBBB; \
border-top-left-radius: 5px; \
border-top-right-radius: 5px; \
border-bottom-left-radius: 0px; \
border-bottom-right-radius: 0px; \
max-height: 22px; \
margin-top: 4px; \
margin-left: 2px; \
margin-bottom: 0px; \
margin-right: 2px; \
background-color: #222222; \
} \
*:checked { \
background-color: #000000; \
border-top: 2px solid #379AC3; \
border-bottom: 0px; \
border-left: 2px solid #379AC3; \
border-right: 2px solid #379AC3; \
} \
*:pressed { \
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #bbbbbb, stop: 1 #b0b0b0); \
border-top: 2px solid #379AC3; \
border-bottom: 0px; \
border-left: 2px solid #379AC3; \
border-right: 2px solid #379AC3; }");
} }
void QGCToolBar::setActiveUAS(UASInterface* active) void QGCToolBar::setActiveUAS(UASInterface* active)
...@@ -322,6 +289,8 @@ void QGCToolBar::updateArmingState(bool armed) ...@@ -322,6 +289,8 @@ void QGCToolBar::updateArmingState(bool armed)
{ {
systemArmed = armed; systemArmed = armed;
changed = true; changed = true;
/* important, immediately update */
updateView();
} }
void QGCToolBar::updateView() void QGCToolBar::updateView()
...@@ -377,6 +346,8 @@ void QGCToolBar::updateState(UASInterface* system, QString name, QString descrip ...@@ -377,6 +346,8 @@ void QGCToolBar::updateState(UASInterface* system, QString name, QString descrip
Q_UNUSED(description); Q_UNUSED(description);
if (state != name) changed = true; if (state != name) changed = true;
state = name; state = name;
/* important, immediately update */
updateView();
} }
void QGCToolBar::updateMode(int system, QString name, QString description) void QGCToolBar::updateMode(int system, QString name, QString description)
...@@ -385,11 +356,16 @@ void QGCToolBar::updateMode(int system, QString name, QString description) ...@@ -385,11 +356,16 @@ void QGCToolBar::updateMode(int system, QString name, QString description)
Q_UNUSED(description); Q_UNUSED(description);
if (mode != name) changed = true; if (mode != name) changed = true;
mode = name; mode = name;
/* important, immediately update */
updateView();
} }
void QGCToolBar::updateName(const QString& name) void QGCToolBar::updateName(const QString& name)
{ {
if (systemName != name) changed = true; if (systemName != name)
{
changed = true;
}
systemName = name; systemName = name;
} }
......
...@@ -191,10 +191,10 @@ void QGCVehicleConfig::writeCalibrationRC() ...@@ -191,10 +191,10 @@ void QGCVehicleConfig::writeCalibrationRC()
for (unsigned int i = 0; i < chanMax; ++i) for (unsigned int i = 0; i < chanMax; ++i)
{ {
mav->setParameter(0, minTpl.arg(i), rcMin[i]); mav->setParameter(0, minTpl.arg(i+1), rcMin[i]);
mav->setParameter(0, trimTpl.arg(i), rcTrim[i]); mav->setParameter(0, trimTpl.arg(i+1), rcTrim[i]);
mav->setParameter(0, maxTpl.arg(i), rcMax[i]); mav->setParameter(0, maxTpl.arg(i+1), rcMax[i]);
mav->setParameter(0, revTpl.arg(i), (rcRev[i]) ? -1 : 1); mav->setParameter(0, revTpl.arg(i+1), (rcRev[i]) ? -1 : 1);
} }
// Write mappings // Write mappings
...@@ -222,13 +222,13 @@ void QGCVehicleConfig::requestCalibrationRC() ...@@ -222,13 +222,13 @@ void QGCVehicleConfig::requestCalibrationRC()
for (unsigned int i = 0; i < chanMax; ++i) for (unsigned int i = 0; i < chanMax; ++i)
{ {
mav->requestParameter(0, minTpl.arg(i)); mav->requestParameter(0, minTpl.arg(i+1));
QGC::SLEEP::usleep(5000); QGC::SLEEP::usleep(5000);
mav->requestParameter(0, trimTpl.arg(i)); mav->requestParameter(0, trimTpl.arg(i+1));
QGC::SLEEP::usleep(5000); QGC::SLEEP::usleep(5000);
mav->requestParameter(0, maxTpl.arg(i)); mav->requestParameter(0, maxTpl.arg(i+1));
QGC::SLEEP::usleep(5000); QGC::SLEEP::usleep(5000);
mav->requestParameter(0, revTpl.arg(i)); mav->requestParameter(0, revTpl.arg(i+1));
QGC::SLEEP::usleep(5000); QGC::SLEEP::usleep(5000);
} }
} }
...@@ -379,7 +379,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete ...@@ -379,7 +379,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete
if (minTpl.exactMatch(parameterName)) { if (minTpl.exactMatch(parameterName)) {
bool ok; bool ok;
unsigned int index = parameterName.mid(2, 1).toInt(&ok); unsigned int index = parameterName.mid(2, 1).toInt(&ok) - 1;
if (ok && (index > 0) && (index < chanMax)) if (ok && (index > 0) && (index < chanMax))
{ {
rcMin[index] = value.toInt(); rcMin[index] = value.toInt();
...@@ -388,7 +388,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete ...@@ -388,7 +388,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete
if (maxTpl.exactMatch(parameterName)) { if (maxTpl.exactMatch(parameterName)) {
bool ok; bool ok;
unsigned int index = parameterName.mid(2, 1).toInt(&ok); unsigned int index = parameterName.mid(2, 1).toInt(&ok) - 1;
if (ok && (index > 0) && (index < chanMax)) if (ok && (index > 0) && (index < chanMax))
{ {
rcMax[index] = value.toInt(); rcMax[index] = value.toInt();
...@@ -397,7 +397,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete ...@@ -397,7 +397,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete
if (trimTpl.exactMatch(parameterName)) { if (trimTpl.exactMatch(parameterName)) {
bool ok; bool ok;
unsigned int index = parameterName.mid(2, 1).toInt(&ok); unsigned int index = parameterName.mid(2, 1).toInt(&ok) - 1;
if (ok && (index > 0) && (index < chanMax)) if (ok && (index > 0) && (index < chanMax))
{ {
rcTrim[index] = value.toInt(); rcTrim[index] = value.toInt();
...@@ -406,7 +406,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete ...@@ -406,7 +406,7 @@ void QGCVehicleConfig::parameterChanged(int uas, int component, QString paramete
if (revTpl.exactMatch(parameterName)) { if (revTpl.exactMatch(parameterName)) {
bool ok; bool ok;
unsigned int index = parameterName.mid(2, 1).toInt(&ok); unsigned int index = parameterName.mid(2, 1).toInt(&ok) - 1;
if (ok && (index > 0) && (index < chanMax)) if (ok && (index > 0) && (index < chanMax))
{ {
rcRev[index] = (value.toInt() == -1) ? true : false; rcRev[index] = (value.toInt() == -1) ? true : false;
......
...@@ -40,13 +40,16 @@ ...@@ -40,13 +40,16 @@
<item row="0" column="0" colspan="2"> <item row="0" column="0" colspan="2">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>2</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="rcTab"> <widget class="QWidget" name="rcTab">
<attribute name="title"> <attribute name="title">
<string>RC Calibration</string> <string>RC Calibration</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_5" columnstretch="1,1,10,1,1,10,1,1,1,1,1,1,1,1,10"> <layout class="QGridLayout" name="gridLayout_5" columnstretch="1,1,10,1,1,10,1,1,1,1,1,1,1,1,10">
<property name="topMargin">
<number>20</number>
</property>
<item row="8" column="1" rowspan="3"> <item row="8" column="1" rowspan="3">
<widget class="QSlider" name="throttleSlider"> <widget class="QSlider" name="throttleSlider">
<property name="minimum"> <property name="minimum">
...@@ -716,10 +719,26 @@ ...@@ -716,10 +719,26 @@
<string>Sensor Calibration</string> <string>Sensor Calibration</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_6" columnstretch="70,30"> <layout class="QGridLayout" name="gridLayout_6" columnstretch="70,30">
<property name="topMargin">
<number>20</number>
</property>
<item row="0" column="1"> <item row="0" column="1">
<layout class="QVBoxLayout" name="sensorLayout"/> <layout class="QVBoxLayout" name="sensorLayout"/>
</item> </item>
<item row="0" column="0"> <item row="1" column="1">
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QTextBrowser" name="sensorTips"> <widget class="QTextBrowser" name="sensorTips">
<property name="html"> <property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
...@@ -732,7 +751,7 @@ p, li { white-space: pre-wrap; } ...@@ -732,7 +751,7 @@ p, li { white-space: pre-wrap; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:16pt;&quot;&gt;Magnetometer Calibration&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:16pt;&quot;&gt;Magnetometer Calibration&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:16pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:16pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Carefully follow the instructions. Click on MAG to start the calibration. Watch the communication console for further instructions (Available through Main Menu -&amp;gt; Tool Widgets -&amp;gt; Communication Console). Do not calibrate the vehicle in vincinity of metal, e.g. from a table or chair. Start the calibration, leave the system unmoved on the table. Wait for the double beep. Next move the system in a figure eight, roll and pitch it strongly and perform the figure eight also upside-down. The calibration is finished after the triple beep.&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Carefully follow the instructions. Click on MAG to start the calibration. Watch the communication console for further instructions (Available through Main Menu -&amp;gt; Tool Widgets -&amp;gt; Communication Console). Do not calibrate the vehicle in vincinity of metal, e.g. from a table or chair. Start the calibration, leave the system unmoved on the table. Wait for the double beep. Next move the system in a figure eight, roll and pitch it strongly, rotate around all axes and perform the figure eight also upside-down. The calibration is finished after the triple beep.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:16pt;&quot;&gt;Accelerometer Calibration&lt;/span&gt;&lt;/p&gt; &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:16pt;&quot;&gt;Accelerometer Calibration&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:16pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:16pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
...@@ -746,42 +765,80 @@ p, li { white-space: pre-wrap; } ...@@ -746,42 +765,80 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab"> <widget class="QWidget" name="multirotorTab">
<attribute name="title"> <attribute name="title">
<string>Multirotor Control</string> <string>Multirotor Control</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3" columnstretch="80,0,0">
<item row="0" column="0"> <property name="topMargin">
<widget class="QComboBox" name="multiRotorComboBox"/> <number>20</number>
</item> </property>
<item row="0" column="1"> <item row="0" column="2">
<widget class="QPushButton" name="loadMultiRotorDefaultsButton"> <widget class="QPushButton" name="loadMultiRotorDefaultsButton">
<property name="text"> <property name="text">
<string>Load Platform Defaults</string> <string>Load Platform Defaults</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="0" column="0">
<widget class="QWidget" name="multiRotorControlWidget" native="true"> <spacer name="horizontalSpacer_8">
<layout class="QGridLayout" name="gridLayout_7"> <property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="multiRotorComboBox"/>
</item>
<item row="2" column="0" colspan="3">
<widget class="QGroupBox" name="multiRotorControlPositionGroupBox"> <widget class="QGroupBox" name="multiRotorControlPositionGroupBox">
<property name="title"> <property name="title">
<string>Position</string> <string>Position</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_5">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QScrollArea" name="scrollArea_2">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_2">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>651</width>
<height>203</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="margin">
<number>0</number>
</property>
<item> <item>
<layout class="QVBoxLayout" name="multiRotorPositionLayout"/> <layout class="QVBoxLayout" name="multiRotorPositionLayout"/>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget>
</item>
</layout>
</widget>
</item> </item>
<item row="0" column="0"> <item row="1" column="0" colspan="3">
<widget class="QGroupBox" name="multiRotorControlAttitudeGroupBox"> <widget class="QGroupBox" name="multiRotorControlAttitudeGroupBox">
<property name="title"> <property name="title">
<string>Attitude</string> <string>Attitude</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
...@@ -795,8 +852,8 @@ p, li { white-space: pre-wrap; } ...@@ -795,8 +852,8 @@ p, li { white-space: pre-wrap; }
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>541</width> <width>651</width>
<height>417</height> <height>204</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_4"> <layout class="QHBoxLayout" name="horizontalLayout_4">
...@@ -815,44 +872,107 @@ p, li { white-space: pre-wrap; } ...@@ -815,44 +872,107 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</widget> </widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="fixedWingTab"> <widget class="QWidget" name="fixedWingTab">
<attribute name="title"> <attribute name="title">
<string>Fixed Wing Control</string> <string>Fixed Wing Control</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4" columnstretch="65,30,19,1">
<item row="1" column="0" colspan="2"> <property name="topMargin">
<widget class="QGroupBox" name="fixedWingControlAttitudeGroupBox"> <number>20</number>
</property>
<item row="3" column="0" colspan="4">
<widget class="QGroupBox" name="fixedWingControlPositionGroupBox">
<property name="title"> <property name="title">
<string>Attitude</string> <string>Position</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<number>0</number>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
<layout class="QVBoxLayout" name="fixedWingAttitudeLayout"/> <widget class="QScrollArea" name="scrollArea_3">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_3">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>651</width>
<height>203</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="fixedWingPositionLayout"/>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget>
</item> </item>
<item row="0" column="0"> </layout>
<widget class="QComboBox" name="fixedWingComboBox"/> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QComboBox" name="fixedWingComboBox"/>
</item>
<item row="0" column="2" colspan="2">
<widget class="QPushButton" name="loadFixedWingDefaultsButton"> <widget class="QPushButton" name="loadFixedWingDefaultsButton">
<property name="text"> <property name="text">
<string>Load Platform Defaults</string> <string>Load Platform Defaults</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="2"> <item row="0" column="0">
<widget class="QGroupBox" name="fixedWingControlPositionGroupBox"> <spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" colspan="4">
<widget class="QGroupBox" name="fixedWingControlAttitudeGroupBox">
<property name="title"> <property name="title">
<string>Position</string> <string>Attitude</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="margin">
<number>0</number>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
<layout class="QVBoxLayout" name="fixedWingPositionLayout"/> <widget class="QScrollArea" name="scrollArea_4">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_4">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>651</width>
<height>204</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QVBoxLayout" name="fixedWingAttitudeLayout"/>
</item>
</layout>
</widget>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <QContextMenuEvent> #include <QContextMenuEvent>
#include <QSettings> #include <QSettings>
#include <QTimer> #include <QTimer>
#include <QToolTip>
#include "QGCParamSlider.h" #include "QGCParamSlider.h"
#include "ui_QGCParamSlider.h" #include "ui_QGCParamSlider.h"
...@@ -53,7 +54,8 @@ QGCParamSlider::QGCParamSlider(QWidget *parent) : ...@@ -53,7 +54,8 @@ QGCParamSlider::QGCParamSlider(QWidget *parent) :
connect(ui->readButton, SIGNAL(clicked()), this, SLOT(requestParameter())); connect(ui->readButton, SIGNAL(clicked()), this, SLOT(requestParameter()));
connect(ui->editRefreshParamsButton, SIGNAL(clicked()), this, SLOT(refreshParamList())); connect(ui->editRefreshParamsButton, SIGNAL(clicked()), this, SLOT(refreshParamList()));
connect(ui->editInfoCheckBox, SIGNAL(clicked(bool)), this, SLOT(showInfo(bool))); connect(ui->editInfoCheckBox, SIGNAL(clicked(bool)), this, SLOT(showInfo(bool)));
// connect to self
connect(ui->infoLabel, SIGNAL(released()), this, SLOT(showTooltip()));
// Set the current UAS if present // Set the current UAS if present
connect(UASManager::instance(), SIGNAL(activeUASSet(UASInterface*)), this, SLOT(setActiveUAS(UASInterface*))); connect(UASManager::instance(), SIGNAL(activeUASSet(UASInterface*)), this, SLOT(setActiveUAS(UASInterface*)));
} }
...@@ -63,6 +65,17 @@ QGCParamSlider::~QGCParamSlider() ...@@ -63,6 +65,17 @@ QGCParamSlider::~QGCParamSlider()
delete ui; delete ui;
} }
void QGCParamSlider::showTooltip()
{
QWidget* sender = dynamic_cast<QWidget*>(QObject::sender());
if (sender)
{
QPoint point = mapToGlobal(pos());
QToolTip::showText(point, sender->toolTip());
}
}
void QGCParamSlider::refreshParamList() void QGCParamSlider::refreshParamList()
{ {
ui->editSelectParamComboBox->setEnabled(true); ui->editSelectParamComboBox->setEnabled(true);
...@@ -70,6 +83,7 @@ void QGCParamSlider::refreshParamList() ...@@ -70,6 +83,7 @@ void QGCParamSlider::refreshParamList()
if (uas) if (uas)
{ {
uas->getParamManager()->requestParameterList(); uas->getParamManager()->requestParameterList();
ui->editStatusLabel->setText(tr("Parameter list updating.."));
} }
} }
...@@ -89,7 +103,7 @@ void QGCParamSlider::setActiveUAS(UASInterface* activeUas) ...@@ -89,7 +103,7 @@ void QGCParamSlider::setActiveUAS(UASInterface* activeUas)
requestParameter(); requestParameter();
// Set param info // Set param info
QString text = uas->getParamManager()->getParamInfo(parameterName); QString text = uas->getParamManager()->getParamInfo(parameterName);
ui->infoLabel->setText(text); ui->infoLabel->setToolTip(text);
// Force-uncheck and hide label if no description is available // Force-uncheck and hide label if no description is available
if (ui->editInfoCheckBox->isChecked()) if (ui->editInfoCheckBox->isChecked())
{ {
...@@ -345,6 +359,11 @@ void QGCParamSlider::setParameterValue(int uas, int component, int paramCount, i ...@@ -345,6 +359,11 @@ void QGCParamSlider::setParameterValue(int uas, int component, int paramCount, i
} }
ui->valueSlider->setValue(floatToScaledInt(value.toDouble())); ui->valueSlider->setValue(floatToScaledInt(value.toDouble()));
} }
if (paramIndex == paramCount - 1)
{
ui->editStatusLabel->setText(tr("Complete parameter list received."));
}
} }
void QGCParamSlider::changeEvent(QEvent *e) void QGCParamSlider::changeEvent(QEvent *e)
......
...@@ -41,6 +41,8 @@ public slots: ...@@ -41,6 +41,8 @@ public slots:
void setParamValue(int value); void setParamValue(int value);
/** @brief Show descriptive text next to slider */ /** @brief Show descriptive text next to slider */
void showInfo(bool enable); void showInfo(bool enable);
/** @brief Show tool tip of calling element */
void showTooltip();
protected slots: protected slots:
/** @brief Request the parameter of this widget from the MAV */ /** @brief Request the parameter of this widget from the MAV */
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout" columnstretch="10,0,0,0,0,0,0,0,0,0"> <layout class="QGridLayout" name="gridLayout" columnstretch="10,0,0,0,0,0,0,0,0,0,0">
<property name="leftMargin"> <property name="leftMargin">
<number>6</number> <number>6</number>
</property> </property>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<property name="verticalSpacing"> <property name="verticalSpacing">
<number>12</number> <number>12</number>
</property> </property>
<item row="2" column="5"> <item row="2" column="6">
<widget class="QSpinBox" name="intValueSpinBox"> <widget class="QSpinBox" name="intValueSpinBox">
<property name="minimum"> <property name="minimum">
<number>-999999999</number> <number>-999999999</number>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="5" colspan="3"> <item row="3" column="6" colspan="3">
<widget class="QComboBox" name="editSelectParamComboBox"> <widget class="QComboBox" name="editSelectParamComboBox">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
...@@ -55,39 +55,68 @@ ...@@ -55,39 +55,68 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="2"> <item row="0" column="0" colspan="11">
<widget class="QLabel" name="nameLabel"> <widget class="Line" name="editLine1">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="7" colspan="2">
<widget class="QSlider" name="valueSlider">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>60</width> <width>60</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="text"> <property name="maximumSize">
<string>Name</string> <size>
<width>250</width>
<height>16777215</height>
</size>
</property> </property>
<property name="alignment"> <property name="maximum">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> <number>1000000</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="7"> <item row="4" column="10">
<widget class="QDoubleSpinBox" name="editMinSpinBox"> <widget class="QPushButton" name="editDoneButton">
<property name="prefix"> <property name="text">
<string>MIN: </string> <string>Done</string>
</property> </property>
<property name="minimum"> </widget>
<double>-999999999.000000000000000</double> </item>
<item row="6" column="0" colspan="11">
<widget class="Line" name="editLine2">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property> </property>
<property name="maximum"> <property name="orientation">
<double>999999999.000000000000000</double> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2" colspan="5"> <item row="3" column="9">
<widget class="QLineEdit" name="editNameLabel"> <widget class="QCheckBox" name="editInfoCheckBox">
<property name="text"> <property name="text">
<string>&lt;Parameter Name / Label&gt;</string> <string>Show Info</string>
</property>
<property name="checked">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -104,77 +133,49 @@ ...@@ -104,77 +133,49 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="2" column="8"> <item row="3" column="10">
<widget class="QPushButton" name="writeButton"> <widget class="QPushButton" name="editRefreshParamsButton">
<property name="minimumSize"> <property name="enabled">
<size> <bool>true</bool>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Transmit the current slider value to the system</string>
</property>
<property name="statusTip">
<string>Transmit the current slider value to the system</string>
</property> </property>
<property name="text"> <property name="text">
<string>W</string> <string>Refresh</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="0" colspan="10"> <item row="5" column="2" colspan="9">
<widget class="Line" name="editLine2"> <spacer name="verticalSpacer">
<property name="minimumSize"> <property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size> <size>
<width>0</width> <width>20</width>
<height>0</height> <height>40</height>
</size> </size>
</property> </property>
<property name="orientation"> </spacer>
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item> </item>
<item row="2" column="6" colspan="2"> <item row="2" column="10">
<widget class="QSlider" name="valueSlider"> <widget class="QPushButton" name="readButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>60</width> <width>0</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="toolTip">
<size> <string>Read the current parameter value on the system</string>
<width>250</width>
<height>16777215</height>
</size>
</property>
<property name="maximum">
<number>1000000</number>
</property> </property>
<property name="orientation"> <property name="statusTip">
<enum>Qt::Horizontal</enum> <string>Read the current parameter value on the system</string>
</property> </property>
</widget>
</item>
<item row="3" column="8">
<widget class="QCheckBox" name="editInfoCheckBox">
<property name="text"> <property name="text">
<string>Show Info</string> <string>R</string>
</property>
<property name="checked">
<bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="2" colspan="3"> <item row="3" column="1" colspan="5">
<widget class="QComboBox" name="editSelectComponentComboBox"> <widget class="QComboBox" name="editSelectComponentComboBox">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
...@@ -187,36 +188,59 @@ ...@@ -187,36 +188,59 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" colspan="7">
<widget class="QLineEdit" name="editNameLabel">
<property name="text">
<string>&lt;Parameter Name / Label&gt;</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="8">
<widget class="QLabel" name="editStatusLabel">
<property name="text">
<string>Please click first on refresh to update selection menus..</string>
</property>
</widget>
</item>
<item row="2" column="9"> <item row="2" column="9">
<widget class="QPushButton" name="readButton"> <widget class="QPushButton" name="writeButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Read the current parameter value on the system</string> <string>Transmit the current slider value to the system</string>
</property> </property>
<property name="statusTip"> <property name="statusTip">
<string>Read the current parameter value on the system</string> <string>Transmit the current slider value to the system</string>
</property> </property>
<property name="text"> <property name="text">
<string>R</string> <string>W</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="2" colspan="6"> <item row="2" column="4">
<widget class="QLabel" name="editStatusLabel"> <widget class="QDoubleSpinBox" name="doubleValueSpinBox">
<property name="text"> <property name="minimum">
<string>Please click first on refresh to update selection menus..</string> <double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="8" colspan="2"> <item row="1" column="8">
<widget class="QDoubleSpinBox" name="editMaxSpinBox"> <widget class="QDoubleSpinBox" name="editMinSpinBox">
<property name="prefix"> <property name="prefix">
<string>MAX: </string> <string>MIN: </string>
</property> </property>
<property name="minimum"> <property name="minimum">
<double>-999999999.000000000000000</double> <double>-999999999.000000000000000</double>
...@@ -226,8 +250,11 @@ ...@@ -226,8 +250,11 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="3"> <item row="1" column="9" colspan="2">
<widget class="QDoubleSpinBox" name="doubleValueSpinBox"> <widget class="QDoubleSpinBox" name="editMaxSpinBox">
<property name="prefix">
<string>MAX: </string>
</property>
<property name="minimum"> <property name="minimum">
<double>-999999999.000000000000000</double> <double>-999999999.000000000000000</double>
</property> </property>
...@@ -236,54 +263,37 @@ ...@@ -236,54 +263,37 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" rowspan="6"> <item row="2" column="2">
<widget class="QTextBrowser" name="infoLabel"/> <widget class="QLabel" name="nameLabel">
</item>
<item row="0" column="0" colspan="10">
<widget class="Line" name="editLine1">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>60</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="3" column="9">
<widget class="QPushButton" name="editRefreshParamsButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text"> <property name="text">
<string>Refresh</string> <string>Name</string>
</property> </property>
</widget> <property name="alignment">
</item> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<item row="5" column="9">
<widget class="QPushButton" name="editDoneButton">
<property name="text">
<string>Done</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="2" colspan="8"> <item row="2" column="3">
<spacer name="verticalSpacer"> <widget class="QToolButton" name="infoLabel">
<property name="orientation"> <property name="text">
<enum>Qt::Vertical</enum> <string/>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="icon">
<size> <iconset resource="../../../qgroundcontrol.qrc">
<width>20</width> <normaloff>:/files/images/status/dialog-information.svg</normaloff>:/files/images/status/dialog-information.svg</iconset>
<height>40</height>
</size>
</property> </property>
</spacer> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="../../../qgroundcontrol.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment