2013-03-23 16:53:24 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>FixedWingConfigWidget</class>
|
|
|
|
<widget class="QWidget" name="FixedWingConfigWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>880</width>
|
|
|
|
<height>608</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
|
|
<property name="margin">
|
2013-04-07 17:56:33 +02:00
|
|
|
<number>0</number>
|
2013-03-23 16:53:24 +01:00
|
|
|
</property>
|
|
|
|
<item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2013-03-23 16:53:24 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Airplane type:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="fixedWingType"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
2013-04-07 17:56:33 +02:00
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2013-03-23 16:53:24 +01:00
|
|
|
<item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<widget class="QGroupBox" name="channelBox">
|
2013-03-23 16:53:24 +01:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>230</width>
|
|
|
|
<height>100</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Output Channel Assignments</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout_3">
|
2013-04-07 17:56:33 +02:00
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwEngineLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Engine</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="0" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwEngineChannelBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for the engine</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="1" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwAileron1Label">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>60</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Aileron 1</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="1" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwAileron1ChannelBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for the first aileron (or elevon)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="2" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwAileron2Label">
|
|
|
|
<property name="enabled">
|
2013-04-07 17:56:33 +02:00
|
|
|
<bool>true</bool>
|
2013-03-23 16:53:24 +01:00
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>60</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Aileron 2</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="2" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwAileron2ChannelBox">
|
|
|
|
<property name="enabled">
|
2013-04-07 17:56:33 +02:00
|
|
|
<bool>true</bool>
|
2013-03-23 16:53:24 +01:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for the second aileron (or elevon)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="3" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwElevator1Label">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>67</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Elevator 1</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="3" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwElevator1ChannelBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for the first elevator</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="4" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwElevator2Label">
|
|
|
|
<property name="enabled">
|
2013-04-07 17:56:33 +02:00
|
|
|
<bool>true</bool>
|
2013-03-23 16:53:24 +01:00
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>67</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Elevator 2</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="4" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwElevator2ChannelBox">
|
|
|
|
<property name="enabled">
|
2013-04-07 17:56:33 +02:00
|
|
|
<bool>true</bool>
|
2013-03-23 16:53:24 +01:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for a secondary elevator</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="5" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwRudder1Label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Rudder 1</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="5" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwRudder1ChannelBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for the first rudder</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="6" column="0">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QLabel" name="fwRudder2Label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Rudder 2</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item row="6" column="1">
|
2013-03-23 16:53:24 +01:00
|
|
|
<widget class="QComboBox" name="fwRudder2ChannelBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select output channel for a secondary rudder</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="elevonMixBox">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Elevon Mix</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_13">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_14">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="elevonLabel1">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>65</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
border-radius: 5;
|
|
|
|
font: bold 12px;
|
|
|
|
margin:1px;</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Rudder %</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSlider" name="elevonSlider1">
|
|
|
|
<property name="sizePolicy">
|
2013-04-07 17:56:33 +02:00
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
2013-03-23 16:53:24 +01:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>50</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="elevonSliderLabel1">
|
|
|
|
<property name="text">
|
|
|
|
<string>50</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_15">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="elevonLabel2">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
2013-04-07 17:56:33 +02:00
|
|
|
<width>65</width>
|
2013-03-23 16:53:24 +01:00
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">background-color: qlineargradient(spread:reflect, x1:0.507, y1:0, x2:0.507, y2:0.772, stop:0.208955 rgba(74, 74, 74, 255), stop:0.78607 rgba(36, 36, 36, 255));
|
|
|
|
color: rgb(255, 255, 255);
|
|
|
|
border-radius: 5;
|
|
|
|
font: bold 12px;
|
|
|
|
margin:1px;</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Pitch %</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSlider" name="elevonSlider2">
|
|
|
|
<property name="sizePolicy">
|
2013-04-07 17:56:33 +02:00
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
2013-03-23 16:53:24 +01:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>50</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="elevonSliderLabel2">
|
|
|
|
<property name="text">
|
|
|
|
<string>50</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<widget class="QGroupBox" name="throttleCurveBox">
|
2013-03-23 16:53:24 +01:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>100</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Throttle Curve</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_16">
|
|
|
|
<item>
|
|
|
|
<widget class="MixerCurve" name="fixedWingThrottle" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>1</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>500</width>
|
|
|
|
<height>500</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="sizeIncrement">
|
|
|
|
<size>
|
|
|
|
<width>10</width>
|
|
|
|
<height>10</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="baseSize">
|
|
|
|
<size>
|
|
|
|
<width>300</width>
|
|
|
|
<height>350</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-07 17:56:33 +02:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2013-03-23 16:53:24 +01:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<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>
|
2013-04-07 17:56:33 +02:00
|
|
|
<layout class="QHBoxLayout" name="bottomLayout">
|
2013-03-23 16:53:24 +01:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_11">
|
|
|
|
<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>
|
|
|
|
<widget class="QLabel" name="fwStatusLabel">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Mixer OK</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>MixerCurve</class>
|
|
|
|
<extends>QWidget</extends>
|
|
|
|
<header location="global">mixercurve.h</header>
|
|
|
|
<container>1</container>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<resources>
|
|
|
|
<include location="../coreplugin/core.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>elevonSlider1</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>elevonSliderLabel1</receiver>
|
|
|
|
<slot>setNum(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>124</x>
|
|
|
|
<y>126</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>124</x>
|
|
|
|
<y>126</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>elevonSlider2</sender>
|
|
|
|
<signal>valueChanged(int)</signal>
|
|
|
|
<receiver>elevonSliderLabel2</receiver>
|
|
|
|
<slot>setNum(int)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>362</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>124</x>
|
|
|
|
<y>126</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|