mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-38 Config gadget: channel assignement is now read/saved. Ch Invert not implemented yet.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1206 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
d910b8f756
commit
f1faea0483
@ -40,6 +40,18 @@ ConfigGadgetWidget::ConfigGadgetWidget(QWidget *parent) : QWidget(parent)
|
|||||||
m_config->setupUi(this);
|
m_config->setupUi(this);
|
||||||
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
||||||
|
|
||||||
|
// Fill in the dropdown menus for the channel RC Input assignement.
|
||||||
|
QStringList channelsList;
|
||||||
|
channelsList << "None" << "Roll" << "Pitch" << "Yaw" << "Throttle" << "FlightMode";
|
||||||
|
m_config->ch0Assign->addItems(channelsList);
|
||||||
|
m_config->ch1Assign->addItems(channelsList);
|
||||||
|
m_config->ch2Assign->addItems(channelsList);
|
||||||
|
m_config->ch3Assign->addItems(channelsList);
|
||||||
|
m_config->ch4Assign->addItems(channelsList);
|
||||||
|
m_config->ch5Assign->addItems(channelsList);
|
||||||
|
m_config->ch6Assign->addItems(channelsList);
|
||||||
|
m_config->ch7Assign->addItems(channelsList);
|
||||||
|
|
||||||
// Now connect the widget to the ManualControlCommand / Channel UAVObject
|
// Now connect the widget to the ManualControlCommand / Channel UAVObject
|
||||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||||
UAVObjectManager *objManager = pm->getObject<UAVObjectManager>();
|
UAVObjectManager *objManager = pm->getObject<UAVObjectManager>();
|
||||||
@ -47,11 +59,20 @@ ConfigGadgetWidget::ConfigGadgetWidget(QWidget *parent) : QWidget(parent)
|
|||||||
UAVDataObject* obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ManualControlCommand")));
|
UAVDataObject* obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ManualControlCommand")));
|
||||||
connect(obj, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(updateChannels(UAVObject*)));
|
connect(obj, SIGNAL(objectUpdated(UAVObject*)), this, SLOT(updateChannels(UAVObject*)));
|
||||||
|
|
||||||
|
// Get the receiver types supported by OpenPilot and fill the corresponding
|
||||||
|
// dropdown menu:
|
||||||
|
obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ManualControlSettings")));
|
||||||
|
// Now update all the slider values:
|
||||||
|
QString fieldName = QString("InputMode");
|
||||||
|
UAVObjectField *field = obj->getField(fieldName);
|
||||||
|
m_config->receiverType->addItems(field->getOptions());
|
||||||
|
|
||||||
|
requestRCInputUpdate();
|
||||||
|
|
||||||
connect(m_config->saveRCInputToSD, SIGNAL(clicked()), this, SLOT(saveRCInputObject()));
|
connect(m_config->saveRCInputToSD, SIGNAL(clicked()), this, SLOT(saveRCInputObject()));
|
||||||
connect(m_config->saveRCInputToRAM, SIGNAL(clicked()), this, SLOT(sendRCInputUpdate()));
|
connect(m_config->saveRCInputToRAM, SIGNAL(clicked()), this, SLOT(sendRCInputUpdate()));
|
||||||
connect(m_config->getRCInputCurrent, SIGNAL(clicked()), this, SLOT(requestRCInputUpdate()));
|
connect(m_config->getRCInputCurrent, SIGNAL(clicked()), this, SLOT(requestRCInputUpdate()));
|
||||||
|
|
||||||
|
|
||||||
firstUpdate = true;
|
firstUpdate = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -129,13 +150,34 @@ void ConfigGadgetWidget::requestRCInputUpdate()
|
|||||||
m_config->ch6Slider->setValue(field->getValue(6).toInt());
|
m_config->ch6Slider->setValue(field->getValue(6).toInt());
|
||||||
m_config->ch7Slider->setValue(field->getValue(7).toInt());
|
m_config->ch7Slider->setValue(field->getValue(7).toInt());
|
||||||
|
|
||||||
|
// Update receiver type
|
||||||
|
fieldName = QString("InputMode");
|
||||||
|
field = obj->getField(fieldName);
|
||||||
|
m_config->receiverType->setCurrentIndex(m_config->receiverType->findText(field->getValue().toString()));
|
||||||
|
|
||||||
|
// Reset all channel assignement dropdowns:
|
||||||
|
m_config->ch0Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch1Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch2Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch3Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch4Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch5Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch6Assign->setCurrentIndex(0);
|
||||||
|
m_config->ch7Assign->setCurrentIndex(0);
|
||||||
|
|
||||||
|
// Update all channels assignements
|
||||||
|
assignChannel(obj, field, QString("Roll"));
|
||||||
|
assignChannel(obj, field, QString("Pitch"));
|
||||||
|
assignChannel(obj, field, QString("Yaw"));
|
||||||
|
assignChannel(obj, field, QString("Throttle"));
|
||||||
|
assignChannel(obj, field, QString("FlightMode"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends the config to the board, without saving to the SD card
|
* Sends the config to the board, without saving to the SD card
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void ConfigGadgetWidget::sendRCInputUpdate()
|
void ConfigGadgetWidget::sendRCInputUpdate()
|
||||||
{
|
{
|
||||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||||
@ -176,6 +218,47 @@ void ConfigGadgetWidget::sendRCInputUpdate()
|
|||||||
field->setValue(m_config->ch6Slider->value(),6);
|
field->setValue(m_config->ch6Slider->value(),6);
|
||||||
field->setValue(m_config->ch7Slider->value(),7);
|
field->setValue(m_config->ch7Slider->value(),7);
|
||||||
|
|
||||||
|
// Set RC Receiver type:
|
||||||
|
fieldName = QString("InputMode");
|
||||||
|
field = obj->getField(fieldName);
|
||||||
|
field->setValue(m_config->receiverType->currentText());
|
||||||
|
|
||||||
|
// Set Roll/Pitch/Yaw/Etc assignement:
|
||||||
|
// Rule: if two channels have the same setting (which is wrong!) the higher channel
|
||||||
|
// will get the setting.
|
||||||
|
if (m_config->ch0Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch0Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(0)); // -> This way we don't depend on channel naming convention
|
||||||
|
}
|
||||||
|
if (m_config->ch1Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch1Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(1));
|
||||||
|
}
|
||||||
|
if (m_config->ch2Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch2Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(2));
|
||||||
|
}
|
||||||
|
if (m_config->ch3Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch3Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(3));
|
||||||
|
}
|
||||||
|
if (m_config->ch4Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch4Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(4));
|
||||||
|
}
|
||||||
|
if (m_config->ch5Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch5Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(5));
|
||||||
|
}
|
||||||
|
if (m_config->ch6Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch6Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(6));
|
||||||
|
}
|
||||||
|
if (m_config->ch7Assign->currentIndex() != 0) {
|
||||||
|
field = obj->getField(m_config->ch7Assign->currentText());
|
||||||
|
field->setValue(field->getOptions().at(7));
|
||||||
|
}
|
||||||
|
|
||||||
// ... and send to the OP Board
|
// ... and send to the OP Board
|
||||||
obj->updated();
|
obj->updated();
|
||||||
|
|
||||||
@ -185,7 +268,6 @@ void ConfigGadgetWidget::sendRCInputUpdate()
|
|||||||
/**
|
/**
|
||||||
Sends the config to the board and request saving into the SD card
|
Sends the config to the board and request saving into the SD card
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void ConfigGadgetWidget::saveRCInputObject()
|
void ConfigGadgetWidget::saveRCInputObject()
|
||||||
{
|
{
|
||||||
// Send update so that the latest value is saved
|
// Send update so that the latest value is saved
|
||||||
@ -195,7 +277,6 @@ void ConfigGadgetWidget::saveRCInputObject()
|
|||||||
UAVDataObject* obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ManualControlSettings")));
|
UAVDataObject* obj = dynamic_cast<UAVDataObject*>(objManager->getObject(QString("ManualControlSettings")));
|
||||||
Q_ASSERT(obj);
|
Q_ASSERT(obj);
|
||||||
updateObjectPersistance(ObjectPersistence::OPERATION_SAVE, obj);
|
updateObjectPersistance(ObjectPersistence::OPERATION_SAVE, obj);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -217,6 +298,42 @@ void ConfigGadgetWidget::updateObjectPersistance(ObjectPersistence::OperationOpt
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the dropdown option for a channel assignement
|
||||||
|
*/
|
||||||
|
void ConfigGadgetWidget::assignChannel(UAVDataObject *obj, UAVObjectField *field, QString str)
|
||||||
|
{
|
||||||
|
field = obj->getField(str);
|
||||||
|
QStringList options = field->getOptions();
|
||||||
|
switch (options.indexOf(field->getValue().toString())) {
|
||||||
|
case 0:
|
||||||
|
m_config->ch0Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
m_config->ch1Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
m_config->ch2Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
m_config->ch3Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
m_config->ch4Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
m_config->ch5Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
m_config->ch6Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
m_config->ch7Assign->setCurrentIndex(m_config->ch0Assign->findText(str));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the slider positions and min/max values
|
* Updates the slider positions and min/max values
|
||||||
*
|
*
|
||||||
@ -277,6 +394,8 @@ void ConfigGadgetWidget::updateChannels(UAVObject* controlCommand)
|
|||||||
void ConfigGadgetWidget::updateChannelSlider(QSlider* slider, QLabel* min, QLabel* max, QCheckBox* rev, int value) {
|
void ConfigGadgetWidget::updateChannelSlider(QSlider* slider, QLabel* min, QLabel* max, QCheckBox* rev, int value) {
|
||||||
|
|
||||||
if (firstUpdate) {
|
if (firstUpdate) {
|
||||||
|
// Reset all the min/max values of the sliders since we are
|
||||||
|
// starting the calibration.
|
||||||
slider->setMaximum(value);
|
slider->setMaximum(value);
|
||||||
slider->setMinimum(value);
|
slider->setMinimum(value);
|
||||||
slider->setValue(value);
|
slider->setValue(value);
|
||||||
|
@ -53,6 +53,7 @@ private:
|
|||||||
QList<QSlider> sliders;
|
QList<QSlider> sliders;
|
||||||
void updateChannelSlider(QSlider* slider, QLabel* min, QLabel* Max, QCheckBox* rev, int value);
|
void updateChannelSlider(QSlider* slider, QLabel* min, QLabel* Max, QCheckBox* rev, int value);
|
||||||
void updateObjectPersistance(ObjectPersistence::OperationOptions op, UAVObject *obj);
|
void updateObjectPersistance(ObjectPersistence::OperationOptions op, UAVObject *obj);
|
||||||
|
void assignChannel(UAVDataObject *obj, UAVObjectField *field, QString str);
|
||||||
|
|
||||||
bool firstUpdate;
|
bool firstUpdate;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>544</width>
|
<width>617</width>
|
||||||
<height>346</height>
|
<height>346</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -18,10 +18,13 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>20</y>
|
<y>20</y>
|
||||||
<width>521</width>
|
<width>601</width>
|
||||||
<height>311</height>
|
<height>311</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>RC Input</string>
|
<string>RC Input</string>
|
||||||
@ -41,6 +44,13 @@
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Maximum channel value</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>2000</string>
|
||||||
</property>
|
</property>
|
||||||
@ -48,7 +58,7 @@
|
|||||||
<widget class="QCheckBox" name="ch2Rev">
|
<widget class="QCheckBox" name="ch2Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>160</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -60,6 +70,13 @@
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -67,12 +84,18 @@
|
|||||||
<widget class="QSlider" name="ch4Slider">
|
<widget class="QSlider" name="ch4Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>260</x>
|
<x>300</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -89,17 +112,24 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Current channel value.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch1Min">
|
<widget class="QLabel" name="ch1Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>80</x>
|
<x>90</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -112,13 +142,13 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="ch7Rev">
|
<widget class="QCheckBox" name="ch7Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>440</x>
|
<x>530</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -130,6 +160,13 @@
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -137,7 +174,7 @@
|
|||||||
<widget class="QLabel" name="ch6Min">
|
<widget class="QLabel" name="ch6Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>380</x>
|
<x>460</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -150,13 +187,13 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch7Cur">
|
<widget class="QLabel" name="ch7Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>440</x>
|
<x>520</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -165,17 +202,17 @@
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch4Max">
|
<widget class="QLabel" name="ch4Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>260</x>
|
<x>300</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -194,7 +231,7 @@
|
|||||||
<widget class="QLabel" name="ch7Min">
|
<widget class="QLabel" name="ch7Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>440</x>
|
<x>540</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -207,13 +244,13 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QPushButton" name="getRCInputCurrent">
|
<widget class="QPushButton" name="getRCInputCurrent">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>190</x>
|
<x>270</x>
|
||||||
<y>240</y>
|
<y>240</y>
|
||||||
<width>93</width>
|
<width>93</width>
|
||||||
<height>27</height>
|
<height>27</height>
|
||||||
@ -229,12 +266,18 @@
|
|||||||
<widget class="QSlider" name="ch3Slider">
|
<widget class="QSlider" name="ch3Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>200</x>
|
<x>230</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -242,7 +285,7 @@
|
|||||||
<widget class="QLabel" name="ch2Min">
|
<widget class="QLabel" name="ch2Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>160</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -255,13 +298,13 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch6Max">
|
<widget class="QLabel" name="ch6Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>380</x>
|
<x>460</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -292,6 +335,13 @@
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -299,7 +349,7 @@
|
|||||||
<widget class="QLabel" name="ch5Max">
|
<widget class="QLabel" name="ch5Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>320</x>
|
<x>370</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -318,7 +368,7 @@
|
|||||||
<widget class="QLabel" name="ch3Max">
|
<widget class="QLabel" name="ch3Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>200</x>
|
<x>230</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -337,7 +387,7 @@
|
|||||||
<widget class="QCheckBox" name="ch1Rev">
|
<widget class="QCheckBox" name="ch1Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>80</x>
|
<x>90</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -349,6 +399,13 @@
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -356,7 +413,7 @@
|
|||||||
<widget class="QPushButton" name="saveRCInputToSD">
|
<widget class="QPushButton" name="saveRCInputToSD">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>410</x>
|
<x>490</x>
|
||||||
<y>240</y>
|
<y>240</y>
|
||||||
<width>93</width>
|
<width>93</width>
|
||||||
<height>27</height>
|
<height>27</height>
|
||||||
@ -373,7 +430,7 @@ Applies and Saves all settings to SD</string>
|
|||||||
<widget class="QLabel" name="ch4Cur">
|
<widget class="QLabel" name="ch4Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>260</x>
|
<x>300</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -382,17 +439,17 @@ Applies and Saves all settings to SD</string>
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch4Min">
|
<widget class="QLabel" name="ch4Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>260</x>
|
<x>300</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -405,18 +462,24 @@ Applies and Saves all settings to SD</string>
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QSlider" name="ch7Slider">
|
<widget class="QSlider" name="ch7Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>440</x>
|
<x>540</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -424,7 +487,7 @@ Applies and Saves all settings to SD</string>
|
|||||||
<widget class="QPushButton" name="saveRCInputToRAM">
|
<widget class="QPushButton" name="saveRCInputToRAM">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>380</x>
|
||||||
<y>240</y>
|
<y>240</y>
|
||||||
<width>93</width>
|
<width>93</width>
|
||||||
<height>27</height>
|
<height>27</height>
|
||||||
@ -443,15 +506,30 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>16</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="frame">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="ch5Rev">
|
<widget class="QCheckBox" name="ch5Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>320</x>
|
<x>370</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -463,6 +541,13 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -470,12 +555,18 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QSlider" name="ch1Slider">
|
<widget class="QSlider" name="ch1Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>80</x>
|
<x>90</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -483,7 +574,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QCheckBox" name="ch6Rev">
|
<widget class="QCheckBox" name="ch6Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>380</x>
|
<x>450</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -495,6 +586,13 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -502,7 +600,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QLabel" name="ch3Min">
|
<widget class="QLabel" name="ch3Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>200</x>
|
<x>230</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -515,13 +613,13 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch7Max">
|
<widget class="QLabel" name="ch7Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>440</x>
|
<x>540</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -540,7 +638,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QLabel" name="ch2Cur">
|
<widget class="QLabel" name="ch2Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>160</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -549,17 +647,17 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch5Cur">
|
<widget class="QLabel" name="ch5Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>320</x>
|
<x>370</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -568,22 +666,28 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QSlider" name="ch2Slider">
|
<widget class="QSlider" name="ch2Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>160</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -591,7 +695,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QLabel" name="ch5Min">
|
<widget class="QLabel" name="ch5Min">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>320</x>
|
<x>370</x>
|
||||||
<y>130</y>
|
<y>130</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -604,13 +708,13 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch1Cur">
|
<widget class="QLabel" name="ch1Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>80</x>
|
<x>90</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -619,17 +723,17 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch6Cur">
|
<widget class="QLabel" name="ch6Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>380</x>
|
<x>450</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -638,17 +742,17 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch3Cur">
|
<widget class="QLabel" name="ch3Cur">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>200</x>
|
<x>230</x>
|
||||||
<y>160</y>
|
<y>160</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -657,17 +761,17 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>FreeSans</family>
|
<family>FreeSans</family>
|
||||||
<pointsize>9</pointsize>
|
<pointsize>10</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>1500</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="ch2Max">
|
<widget class="QLabel" name="ch2Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>160</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -692,8 +796,11 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>99</number>
|
<number>2000</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
@ -702,7 +809,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QLabel" name="ch1Max">
|
<widget class="QLabel" name="ch1Max">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>80</x>
|
<x>90</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>31</width>
|
<width>31</width>
|
||||||
<height>17</height>
|
<height>17</height>
|
||||||
@ -721,7 +828,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QCheckBox" name="ch4Rev">
|
<widget class="QCheckBox" name="ch4Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>260</x>
|
<x>300</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -733,6 +840,13 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
@ -752,19 +866,32 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Minimum channel value.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2000</string>
|
<string>1000</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QSlider" name="ch5Slider">
|
<widget class="QSlider" name="ch5Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>320</x>
|
<x>370</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -772,12 +899,18 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QSlider" name="ch6Slider">
|
<widget class="QSlider" name="ch6Slider">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>380</x>
|
<x>460</x>
|
||||||
<y>30</y>
|
<y>30</y>
|
||||||
<width>18</width>
|
<width>18</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1000</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>2000</number>
|
||||||
|
</property>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
</property>
|
</property>
|
||||||
@ -785,7 +918,7 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<widget class="QCheckBox" name="ch3Rev">
|
<widget class="QCheckBox" name="ch3Rev">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>200</x>
|
<x>230</x>
|
||||||
<y>140</y>
|
<y>140</y>
|
||||||
<width>21</width>
|
<width>21</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
@ -797,85 +930,134 @@ Be sure to set the Neutral position on all sliders before sending!</string>
|
|||||||
<pointsize>8</pointsize>
|
<pointsize>8</pointsize>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
|
p, li { white-space: pre-wrap; }
|
||||||
|
</style></head><body style=" font-family:'FreeSans'; font-size:8pt; font-weight:400; font-style:normal;">
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check to invert the channel.</p></body></html></string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_2">
|
<widget class="QComboBox" name="ch1Assign">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>70</x>
|
<x>80</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_3">
|
<widget class="QComboBox" name="ch2Assign">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>130</x>
|
<x>150</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_4">
|
<widget class="QComboBox" name="ch3Assign">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>190</x>
|
<x>220</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_5">
|
<widget class="QComboBox" name="ch4Assign">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>250</x>
|
<x>290</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_6">
|
<widget class="QComboBox" name="ch5Assign">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>310</x>
|
<x>360</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="font">
|
||||||
<widget class="QComboBox" name="comboBox_7">
|
<font>
|
||||||
<property name="geometry">
|
<family>DejaVu Sans</family>
|
||||||
<rect>
|
<pointsize>7</pointsize>
|
||||||
<x>370</x>
|
</font>
|
||||||
<y>180</y>
|
|
||||||
<width>51</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QComboBox" name="comboBox_8">
|
<widget class="QComboBox" name="ch6Assign">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>430</x>
|
<x>430</x>
|
||||||
<y>180</y>
|
<y>180</y>
|
||||||
<width>51</width>
|
<width>61</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" name="ch7Assign">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>500</x>
|
||||||
|
<y>180</y>
|
||||||
|
<width>61</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>DejaVu Sans</family>
|
||||||
|
<pointsize>7</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="doRCInputCalibration">
|
<widget class="QCheckBox" name="doRCInputCalibration">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>20</x>
|
||||||
<y>210</y>
|
<y>250</y>
|
||||||
<width>131</width>
|
<width>131</width>
|
||||||
<height>22</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -897,15 +1079,83 @@ Uncheck/Check to restart calibration.</string>
|
|||||||
<height>20</height>
|
<height>20</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Indicates whether OpenPilot is getting a signal from the RC receiver.</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>RC Receiver Not Connected</string>
|
<string>RC Receiver Not Connected</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QComboBox" name="receiverType">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>130</x>
|
||||||
|
<y>210</y>
|
||||||
|
<width>89</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Select the receiver type here:
|
||||||
|
- PWM is the most usual type
|
||||||
|
- PPM is connected to input XXX
|
||||||
|
- Spektrum is used with Spektrum 'satellite' receivers</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>210</y>
|
||||||
|
<width>131</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>RC Receiver Type:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_2">
|
<widget class="QWidget" name="tab_2">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Tab 2</string>
|
<string>Servo Output</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<widget class="QComboBox" name="comboBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>80</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>89</width>
|
||||||
|
<height>31</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Select aircraft type here</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>20</y>
|
||||||
|
<width>62</width>
|
||||||
|
<height>17</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Aircraft:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QGraphicsView" name="graphicsView">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>130</x>
|
||||||
|
<y>60</y>
|
||||||
|
<width>256</width>
|
||||||
|
<height>192</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user