JoystickWidget.ui 5.26 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>JoystickWidget</class>
4
 <widget class="QWidget" name="JoystickWidget">
pixhawk's avatar
pixhawk committed
5 6 7 8
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>368</width>
    <height>274</height>
pixhawk's avatar
pixhawk committed
11 12
   </rect>
  </property>
13 14 15 16 17 18
  <property name="sizePolicy">
   <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
19 20 21 22 23 24
  <property name="minimumSize">
   <size>
    <width>368</width>
    <height>274</height>
   </size>
  </property>
pixhawk's avatar
pixhawk committed
25
  <property name="windowTitle">
26
   <string>Joystick Settings</string>
pixhawk's avatar
pixhawk committed
27
  </property>
28 29 30 31 32
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>8</number>
   </property>
   <property name="sizeConstraint">
33
    <enum>QLayout::SetDefaultConstraint</enum>
34
   </property>
35 36 37 38 39 40 41 42 43 44
   <property name="leftMargin">
    <number>8</number>
   </property>
   <property name="topMargin">
    <number>8</number>
   </property>
   <property name="rightMargin">
    <number>8</number>
   </property>
   <property name="bottomMargin">
45
    <number>8</number>
pixhawk's avatar
pixhawk committed
46
   </property>
47 48 49 50
   <item>
    <widget class="QCheckBox" name="enableCheckBox">
     <property name="enabled">
      <bool>true</bool>
Lorenz Meier's avatar
Lorenz Meier committed
51
     </property>
52
     <property name="text">
53
      <string>Enable controllers</string>
54
     </property>
55 56
    </widget>
   </item>
57 58 59 60
   <item>
    <widget class="QComboBox" name="joystickNameComboBox">
     <property name="enabled">
      <bool>true</bool>
Lorenz Meier's avatar
Lorenz Meier committed
61
     </property>
62 63 64 65 66
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
67
     </property>
Lorenz Meier's avatar
Lorenz Meier committed
68 69
    </widget>
   </item>
70 71 72
   <item>
    <widget class="QComboBox" name="joystickModeComboBox"/>
   </item>
73 74 75 76
   <item>
    <widget class="QFrame" name="joystickFrame">
     <property name="enabled">
      <bool>false</bool>
77
     </property>
78 79
     <property name="frameShape">
      <enum>QFrame::StyledPanel</enum>
80
     </property>
81 82 83
     <property name="frameShadow">
      <enum>QFrame::Sunken</enum>
     </property>
84
     <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,0">
85 86
      <property name="sizeConstraint">
       <enum>QLayout::SetMinimumSize</enum>
87
      </property>
88
      <item>
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <widget class="QGroupBox" name="buttonBox">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="minimumSize">
           <size>
            <width>100</width>
            <height>0</height>
           </size>
          </property>
          <property name="maximumSize">
           <size>
            <width>16777215</width>
            <height>16777215</height>
           </size>
          </property>
          <property name="title">
           <string>Buttons</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignCenter</set>
          </property>
          <property name="flat">
           <bool>false</bool>
          </property>
          <layout class="QVBoxLayout" name="buttonLayout">
           <property name="spacing">
            <number>1</number>
           </property>
           <property name="sizeConstraint">
            <enum>QLayout::SetMinimumSize</enum>
           </property>
           <property name="leftMargin">
            <number>3</number>
           </property>
           <property name="topMargin">
            <number>3</number>
           </property>
           <property name="rightMargin">
            <number>3</number>
           </property>
           <property name="bottomMargin">
            <number>3</number>
           </property>
          </layout>
         </widget>
        </item>
        <item>
         <widget class="QGroupBox" name="axesBox">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="minimumSize">
           <size>
            <width>100</width>
            <height>0</height>
           </size>
          </property>
          <property name="title">
           <string>Axes</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignCenter</set>
          </property>
          <layout class="QHBoxLayout" name="axesLayout">
           <property name="sizeConstraint">
            <enum>QLayout::SetMinimumSize</enum>
           </property>
          </layout>
         </widget>
        </item>
       </layout>
169
      </item>
170
      <item>
171 172 173
       <widget class="QLabel" name="statusLabel">
        <property name="text">
         <string/>
174 175 176
        </property>
       </widget>
      </item>
177 178 179 180 181 182 183
      <item>
       <widget class="QPushButton" name="calibrationButton">
        <property name="text">
         <string>Calibrate range</string>
        </property>
       </widget>
      </item>
184 185 186
     </layout>
    </widget>
   </item>
187
  </layout>
pixhawk's avatar
pixhawk committed
188 189
 </widget>
 <resources/>
190
 <connections/>
pixhawk's avatar
pixhawk committed
191
</ui>