JoystickWidget.ui 6.06 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>JoystickWidget</class>
 <widget class="QDialog" name="JoystickWidget">
  <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 33 34
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="spacing">
    <number>8</number>
   </property>
   <property name="sizeConstraint">
    <enum>QLayout::SetFixedSize</enum>
   </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 53
     <property name="text">
      <string>Enable joysticks</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 73
   <item>
    <widget class="QFrame" name="joystickFrame">
     <property name="enabled">
      <bool>false</bool>
74
     </property>
75 76
     <property name="frameShape">
      <enum>QFrame::StyledPanel</enum>
77
     </property>
78 79 80
     <property name="frameShadow">
      <enum>QFrame::Sunken</enum>
     </property>
81
     <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0">
82 83
      <property name="sizeConstraint">
       <enum>QLayout::SetMinimumSize</enum>
84
      </property>
85
      <item>
86 87 88 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
       <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>
166
      </item>
167
      <item>
168 169 170
       <widget class="QLabel" name="statusLabel">
        <property name="text">
         <string/>
171 172 173 174 175 176
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
177 178 179 180 181 182 183 184 185 186 187 188 189 190
   <item>
    <widget class="QDialogButtonBox" name="dialogButtonsBox">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>50</width>
       <height>0</height>
      </size>
     </property>
191 192
     <property name="maximumSize">
      <size>
193
       <width>16777215</width>
194 195 196
       <height>16777215</height>
      </size>
     </property>
197 198 199 200 201
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Ok</set>
202 203 204
     </property>
    </widget>
   </item>
205
  </layout>
pixhawk's avatar
pixhawk committed
206 207 208 209
 </widget>
 <resources/>
 <connections>
  <connection>
210
   <sender>dialogButtonsBox</sender>
pixhawk's avatar
pixhawk committed
211 212 213 214 215
   <signal>accepted()</signal>
   <receiver>JoystickWidget</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
216 217
     <x>263</x>
     <y>438</y>
pixhawk's avatar
pixhawk committed
218 219 220 221 222 223 224 225 226
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>