1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

Improvement & bugfix: now the output config tab in the config gadget only shows the channel assignments as labels, not dropdowns, and more importantly does not try to save them when clicking on save/apply!

This commit is contained in:
elafargue 2011-05-17 00:34:25 +02:00
parent 98f286a682
commit b2587a5b9f
2 changed files with 155 additions and 242 deletions

View File

@ -103,6 +103,7 @@ ConfigOutputWidget::ConfigOutputWidget(QWidget *parent) : ConfigTaskWidget(paren
<< m_config->ch6Link << m_config->ch6Link
<< m_config->ch7Link; << m_config->ch7Link;
/*
UAVDataObject * obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ActuatorSettings"))); UAVDataObject * obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ActuatorSettings")));
QList<UAVObjectField*> fieldList = obj->getFields(); QList<UAVObjectField*> fieldList = obj->getFields();
foreach (UAVObjectField* field, fieldList) { foreach (UAVObjectField* field, fieldList) {
@ -117,6 +118,7 @@ ConfigOutputWidget::ConfigOutputWidget(QWidget *parent) : ConfigTaskWidget(paren
m_config->ch7Output->addItem(field->getName()); m_config->ch7Output->addItem(field->getName());
} }
} }
*/
for (int i = 0; i < 8; i++) { for (int i = 0; i < 8; i++) {
@ -292,7 +294,7 @@ void ConfigOutputWidget::runChannelTests(bool state)
} }
/** /**
* Set the dropdown option for a channel output assignement * Set the label for a channel output assignement
*/ */
void ConfigOutputWidget::assignOutputChannel(UAVDataObject *obj, QString str) void ConfigOutputWidget::assignOutputChannel(UAVDataObject *obj, QString str)
{ {
@ -300,28 +302,28 @@ void ConfigOutputWidget::assignOutputChannel(UAVDataObject *obj, QString str)
QStringList options = field->getOptions(); QStringList options = field->getOptions();
switch (options.indexOf(field->getValue().toString())) { switch (options.indexOf(field->getValue().toString())) {
case 0: case 0:
m_config->ch0Output->setCurrentIndex(m_config->ch0Output->findText(str)); m_config->ch0Output->setText(str);
break; break;
case 1: case 1:
m_config->ch1Output->setCurrentIndex(m_config->ch1Output->findText(str)); m_config->ch1Output->setText(str);
break; break;
case 2: case 2:
m_config->ch2Output->setCurrentIndex(m_config->ch2Output->findText(str)); m_config->ch2Output->setText(str);
break; break;
case 3: case 3:
m_config->ch3Output->setCurrentIndex(m_config->ch3Output->findText(str)); m_config->ch3Output->setText(str);
break; break;
case 4: case 4:
m_config->ch4Output->setCurrentIndex(m_config->ch4Output->findText(str)); m_config->ch4Output->setText(str);
break; break;
case 5: case 5:
m_config->ch5Output->setCurrentIndex(m_config->ch5Output->findText(str)); m_config->ch5Output->setText(str);
break; break;
case 6: case 6:
m_config->ch6Output->setCurrentIndex(m_config->ch6Output->findText(str)); m_config->ch6Output->setText(str);
break; break;
case 7: case 7:
m_config->ch7Output->setCurrentIndex(m_config->ch7Output->findText(str)); m_config->ch7Output->setText(str);
break; break;
} }
} }
@ -405,14 +407,14 @@ void ConfigOutputWidget::requestRCOutputUpdate()
UAVObjectManager *objManager = pm->getObject<UAVObjectManager>(); UAVObjectManager *objManager = pm->getObject<UAVObjectManager>();
// Reset all channel assignements: // Reset all channel assignements:
m_config->ch0Output->setCurrentIndex(0); m_config->ch0Output->setText("-");
m_config->ch1Output->setCurrentIndex(0); m_config->ch1Output->setText("-");
m_config->ch2Output->setCurrentIndex(0); m_config->ch2Output->setText("-");
m_config->ch3Output->setCurrentIndex(0); m_config->ch3Output->setText("-");
m_config->ch4Output->setCurrentIndex(0); m_config->ch4Output->setText("-");
m_config->ch5Output->setCurrentIndex(0); m_config->ch5Output->setText("-");
m_config->ch6Output->setCurrentIndex(0); m_config->ch6Output->setText("-");
m_config->ch7Output->setCurrentIndex(0); m_config->ch7Output->setText("-");
// Get the channel assignements: // Get the channel assignements:
UAVDataObject * obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ActuatorSettings"))); UAVDataObject * obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ActuatorSettings")));
@ -525,57 +527,9 @@ void ConfigOutputWidget::sendRCOutputUpdate()
field->setValue(m_config->outputRate3->value(),2); field->setValue(m_config->outputRate3->value(),2);
field->setValue(m_config->outputRate4->value(),3); field->setValue(m_config->outputRate4->value(),3);
// Set Actuator assignement for each channel:
// Rule: if two channels have the same setting (which is wrong!) the higher channel
// will get the setting.
// First, reset all channel assignements:
QList<UAVObjectField*> fieldList = obj->getFields();
foreach (UAVObjectField* field, fieldList) {
// NOTE: we assume that all options in ActuatorSettings are a channel assignement
// except for the options called "ChannelXXX"
if (field->getUnits().contains("channel")) {
field->setValue(field->getOptions().last());
}
}
if (m_config->ch0Output->currentIndex() != 0) {
field = obj->getField(m_config->ch0Output->currentText());
field->setValue(field->getOptions().at(0)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch1Output->currentIndex() != 0) {
field = obj->getField(m_config->ch1Output->currentText());
field->setValue(field->getOptions().at(1)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch2Output->currentIndex() != 0) {
field = obj->getField(m_config->ch2Output->currentText());
field->setValue(field->getOptions().at(2)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch3Output->currentIndex() != 0) {
field = obj->getField(m_config->ch3Output->currentText());
field->setValue(field->getOptions().at(3)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch4Output->currentIndex() != 0) {
field = obj->getField(m_config->ch4Output->currentText());
field->setValue(field->getOptions().at(4)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch5Output->currentIndex() != 0) {
field = obj->getField(m_config->ch5Output->currentText());
field->setValue(field->getOptions().at(5)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch6Output->currentIndex() != 0) {
field = obj->getField(m_config->ch6Output->currentText());
field->setValue(field->getOptions().at(6)); // -> This way we don't depend on channel naming convention
}
if (m_config->ch7Output->currentIndex() != 0) {
field = obj->getField(m_config->ch7Output->currentText());
field->setValue(field->getOptions().at(7)); // -> This way we don't depend on channel naming convention
}
// ... and send to the OP Board // ... and send to the OP Board
obj->updated(); obj->updated();
} }

View File

@ -162,27 +162,7 @@ Leave at 50Hz for fixed wing.</string>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="actuator0Label"> <widget class="QLabel" name="actuator0Label">
<property name="text"> <property name="text">
<string>Channel 1</string> <string>Channel 1:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="ch0Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -300,27 +280,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="actuator1Label"> <widget class="QLabel" name="actuator1Label">
<property name="text"> <property name="text">
<string>Channel 2</string> <string>Channel 2:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="ch1Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -407,27 +367,7 @@ p, li { white-space: pre-wrap; }
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="actuator2Label"> <widget class="QLabel" name="actuator2Label">
<property name="text"> <property name="text">
<string>Channel 3</string> <string>Channel 3:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="ch2Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -514,27 +454,7 @@ p, li { white-space: pre-wrap; }
<item row="4" column="0"> <item row="4" column="0">
<widget class="QLabel" name="actuator3Label"> <widget class="QLabel" name="actuator3Label">
<property name="text"> <property name="text">
<string>Channel 4</string> <string>Channel 4:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="ch3Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -621,27 +541,7 @@ p, li { white-space: pre-wrap; }
<item row="5" column="0"> <item row="5" column="0">
<widget class="QLabel" name="actuator4Label"> <widget class="QLabel" name="actuator4Label">
<property name="text"> <property name="text">
<string>Channel 5</string> <string>Channel 5:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="ch4Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -719,27 +619,7 @@ p, li { white-space: pre-wrap; }
<item row="6" column="0"> <item row="6" column="0">
<widget class="QLabel" name="actuator5Label"> <widget class="QLabel" name="actuator5Label">
<property name="text"> <property name="text">
<string>Channel 6</string> <string>Channel 6:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="ch5Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -817,54 +697,14 @@ p, li { white-space: pre-wrap; }
<item row="7" column="0"> <item row="7" column="0">
<widget class="QLabel" name="actuator6Label"> <widget class="QLabel" name="actuator6Label">
<property name="text"> <property name="text">
<string>Channel 7</string> <string>Channel 7:</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QComboBox" name="ch6Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="0"> <item row="8" column="0">
<widget class="QLabel" name="actuator7Label"> <widget class="QLabel" name="actuator7Label">
<property name="text"> <property name="text">
<string>Channel 8</string> <string>Channel 8:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QComboBox" name="ch7Output">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="toolTip">
<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;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:8pt; font-weight:400; font-style:normal;&quot;&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-family:'Sans';&quot;&gt;This is the actuator connected to this channel.&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-family:'Sans';&quot;&gt;You can change this through the &amp;quot;Airframe&amp;quot; dialog (on the left).&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -1010,6 +850,133 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1">
<widget class="QLabel" name="ch0Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="ch1Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="ch2Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="ch3Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="ch4Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="ch5Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="ch6Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QLabel" name="ch7Output">
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>-</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Assignment</string>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item> <item>
@ -1119,35 +1086,27 @@ Applies and Saves all settings to SD</string>
<tabstop>ch6OutMax</tabstop> <tabstop>ch6OutMax</tabstop>
<tabstop>ch7OutMin</tabstop> <tabstop>ch7OutMin</tabstop>
<tabstop>ch7OutMax</tabstop> <tabstop>ch7OutMax</tabstop>
<tabstop>ch0Output</tabstop>
<tabstop>ch0OutSlider</tabstop> <tabstop>ch0OutSlider</tabstop>
<tabstop>ch0Rev</tabstop> <tabstop>ch0Rev</tabstop>
<tabstop>ch0Link</tabstop> <tabstop>ch0Link</tabstop>
<tabstop>ch1Output</tabstop>
<tabstop>ch1OutSlider</tabstop> <tabstop>ch1OutSlider</tabstop>
<tabstop>ch1Rev</tabstop> <tabstop>ch1Rev</tabstop>
<tabstop>ch1Link</tabstop> <tabstop>ch1Link</tabstop>
<tabstop>ch2Output</tabstop>
<tabstop>ch2OutSlider</tabstop> <tabstop>ch2OutSlider</tabstop>
<tabstop>ch2Rev</tabstop> <tabstop>ch2Rev</tabstop>
<tabstop>ch2Link</tabstop> <tabstop>ch2Link</tabstop>
<tabstop>ch3Output</tabstop>
<tabstop>ch3OutSlider</tabstop> <tabstop>ch3OutSlider</tabstop>
<tabstop>ch3Rev</tabstop> <tabstop>ch3Rev</tabstop>
<tabstop>ch3Link</tabstop> <tabstop>ch3Link</tabstop>
<tabstop>ch4Output</tabstop>
<tabstop>ch4OutSlider</tabstop> <tabstop>ch4OutSlider</tabstop>
<tabstop>ch4Rev</tabstop> <tabstop>ch4Rev</tabstop>
<tabstop>ch4Link</tabstop> <tabstop>ch4Link</tabstop>
<tabstop>ch5Output</tabstop>
<tabstop>ch5OutSlider</tabstop> <tabstop>ch5OutSlider</tabstop>
<tabstop>ch5Rev</tabstop> <tabstop>ch5Rev</tabstop>
<tabstop>ch5Link</tabstop> <tabstop>ch5Link</tabstop>
<tabstop>ch6Output</tabstop>
<tabstop>ch6OutSlider</tabstop> <tabstop>ch6OutSlider</tabstop>
<tabstop>ch6Rev</tabstop> <tabstop>ch6Rev</tabstop>
<tabstop>ch6Link</tabstop> <tabstop>ch6Link</tabstop>
<tabstop>ch7Output</tabstop>
<tabstop>ch7OutSlider</tabstop> <tabstop>ch7OutSlider</tabstop>
<tabstop>ch7Rev</tabstop> <tabstop>ch7Rev</tabstop>
<tabstop>ch7Link</tabstop> <tabstop>ch7Link</tabstop>