JoystickAxis.ui 4.13 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>JoystickAxis</class>
 <widget class="QWidget" name="JoystickAxis">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>80</width>
10 11 12 13
    <height>200</height>
   </rect>
  </property>
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="minimumSize">
   <size>
    <width>40</width>
    <height>200</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="sizeConstraint">
    <enum>QLayout::SetMinimumSize</enum>
   </property>
   <property name="leftMargin">
    <number>1</number>
   </property>
   <property name="topMargin">
    <number>2</number>
   </property>
   <property name="rightMargin">
    <number>1</number>
   </property>
   <property name="bottomMargin">
    <number>2</number>
   </property>
   <item>
    <widget class="QLabel" name="label">
     <property name="text">
      <string/>
     </property>
49 50 51
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
52 53 54 55 56 57 58 59 60 61
    </widget>
   </item>
   <item>
    <widget class="QComboBox" name="comboBox">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
62 63 64
     <property name="toolTip">
      <string>Specify what property of the UAS this axis should command</string>
     </property>
65 66 67 68 69
     <item>
      <property name="text">
       <string>--</string>
      </property>
     </item>
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
     <item>
      <property name="text">
       <string>Yaw</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Pitch</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Roll</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Throttle</string>
      </property>
     </item>
90 91
    </widget>
   </item>
92 93 94 95 96 97 98
   <item>
    <widget class="QCheckBox" name="rangeCheckBox">
     <property name="text">
      <string>Half range</string>
     </property>
    </widget>
   </item>
99 100 101
   <item>
    <widget class="QProgressBar" name="progressBar">
     <property name="enabled">
102
      <bool>true</bool>
103 104 105 106 107 108 109 110 111 112 113 114 115
     </property>
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>100</height>
      </size>
     </property>
116 117 118
     <property name="toolTip">
      <string>Only use the positive values from this axis for control</string>
     </property>
119 120 121
     <property name="minimum">
      <number>-100</number>
     </property>
122 123 124 125 126 127 128
     <property name="value">
      <number>0</number>
     </property>
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
     <property name="textVisible">
129
      <bool>true</bool>
130 131 132 133
     </property>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
134 135 136
     <property name="textDirection">
      <enum>QProgressBar::TopToBottom</enum>
     </property>
137 138 139
     <property name="format">
      <string>%v</string>
     </property>
140 141
    </widget>
   </item>
142
   <item>
143
    <widget class="QCheckBox" name="invertedCheckBox">
144
     <property name="sizePolicy">
145
      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
146 147 148 149
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
150 151 152 153 154 155
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>25</height>
      </size>
     </property>
156 157 158
     <property name="toolTip">
      <string>Reverse the values for this axis</string>
     </property>
159 160 161 162 163
     <property name="text">
      <string>Inverted</string>
     </property>
    </widget>
   </item>
164 165 166 167 168
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>