SettingsDialog.ui 11.9 KB
Newer Older
lm's avatar
lm committed
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3 4 5 6 7 8
 <class>SettingsDialog</class>
 <widget class="QDialog" name="SettingsDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>500</width>
10
    <height>596</height>
11 12 13 14 15 16 17 18 19 20 21
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
22
  <layout class="QVBoxLayout" name="verticalLayout_5">
23 24 25
   <item>
    <widget class="QTabWidget" name="tabWidget">
     <widget class="QWidget" name="general">
26 27 28 29 30 31
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
32 33 34 35 36 37
      <attribute name="title">
       <string>General</string>
      </attribute>
      <attribute name="toolTip">
       <string>General Settings</string>
      </attribute>
38
      <layout class="QVBoxLayout" name="verticalLayout_8">
39
       <item>
40 41 42 43 44 45
        <widget class="QCheckBox" name="audioMuteCheckBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
46
         </property>
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 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
         <property name="text">
          <string>Mute all audio output</string>
         </property>
         <property name="iconSize">
          <size>
           <width>0</width>
           <height>0</height>
          </size>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="reconnectCheckBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Automatically reconnect last link on application startup</string>
         </property>
         <property name="iconSize">
          <size>
           <width>0</width>
           <height>0</height>
          </size>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="lowPowerCheckBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="toolTip">
          <string>Lowers all update rates to save battery power</string>
         </property>
         <property name="text">
          <string>Enable low power mode</string>
         </property>
         <property name="iconSize">
          <size>
           <width>0</width>
           <height>0</height>
          </size>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="promptFlightDataSave">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Prompt to save Flight Data Log after each flight</string>
         </property>
         <property name="iconSize">
          <size>
           <width>0</width>
           <height>0</height>
          </size>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="title">
          <string>Style</string>
         </property>
         <property name="flat">
          <bool>false</bool>
         </property>
         <property name="checkable">
          <bool>false</bool>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_3">
          <property name="topMargin">
           <number>8</number>
          </property>
          <property name="bottomMargin">
           <number>8</number>
          </property>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout">
            <property name="spacing">
             <number>0</number>
            </property>
            <property name="sizeConstraint">
             <enum>QLayout::SetDefaultConstraint</enum>
            </property>
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>80</number>
            </property>
156
            <item>
157 158 159 160 161 162
             <widget class="QComboBox" name="styleChooser">
              <property name="sizePolicy">
               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
163
              </property>
164 165 166 167 168
              <property name="minimumSize">
               <size>
                <width>200</width>
                <height>0</height>
               </size>
169 170
              </property>
              <item>
171 172 173
               <property name="text">
                <string>Dark (for indoor use)</string>
               </property>
174
              </item>
175 176 177 178 179 180
              <item>
               <property name="text">
                <string>Light (for outdoor use)</string>
               </property>
              </item>
             </widget>
181 182
            </item>
           </layout>
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="fileLocationsLayout">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="minimumSize">
          <size>
           <width>0</width>
           <height>0</height>
          </size>
         </property>
         <property name="title">
          <string>File Locations</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_7">
          <item>
           <widget class="QLabel" name="label">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>0</height>
             </size>
            </property>
            <property name="text">
             <string>Specify the location you would like to save files:</string>
            </property>
            <property name="wordWrap">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_2">
229
            <item>
230
             <widget class="QLineEdit" name="savedFilesLocation">
231 232
              <property name="minimumSize">
               <size>
233 234
                <width>200</width>
                <height>21</height>
235 236
               </size>
              </property>
237 238
              <property name="maxLength">
               <number>1024</number>
239
              </property>
240 241 242 243 244 245
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="browseSavedFilesLocation">
              <property name="text">
               <string>Browse</string>
246 247 248
              </property>
             </widget>
            </item>
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
           </layout>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox_3">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="title">
          <string>Tool Bar</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_6">
          <item>
           <layout class="QVBoxLayout" name="verticalLayout_2">
268
            <item>
269
             <layout class="QHBoxLayout" name="horizontalLayout_3">
270
              <item>
271
               <widget class="QCheckBox" name="showGPS">
272 273
                <property name="minimumSize">
                 <size>
274 275
                  <width>160</width>
                  <height>0</height>
276 277
                 </size>
                </property>
278 279
                <property name="text">
                 <string>Show GPS</string>
280 281
                </property>
               </widget>
282 283
              </item>
              <item>
284
               <widget class="QCheckBox" name="showMessages">
285
                <property name="text">
286
                 <string>Show Messages</string>
287 288
                </property>
               </widget>
289
              </item>
290 291 292
             </layout>
            </item>
            <item>
293
             <layout class="QHBoxLayout" name="horizontalLayout_4">
294
              <item>
295 296 297 298 299 300 301 302 303 304 305
               <widget class="QCheckBox" name="showBattery">
                <property name="minimumSize">
                 <size>
                  <width>160</width>
                  <height>0</height>
                 </size>
                </property>
                <property name="text">
                 <string>Show Battery</string>
                </property>
               </widget>
306 307
              </item>
              <item>
308 309 310 311 312
               <widget class="QCheckBox" name="showMav">
                <property name="text">
                 <string>Show Mav Icon</string>
                </property>
               </widget>
313 314 315 316
              </item>
             </layout>
            </item>
            <item>
317
             <widget class="QCheckBox" name="showRSSI">
318
              <property name="text">
319
               <string>Show RSSI</string>
320
              </property>
321
             </widget>
322
            </item>
323
           </layout>
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox_2">
         <property name="title">
          <string>Reset All Settings to Default</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_4">
          <item>
           <widget class="QCheckBox" name="deleteSettings">
            <property name="text">
             <string>Delete all saved settings on next boot</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLabel" name="label_2">
            <property name="font">
             <font>
              <pointsize>11</pointsize>
             </font>
            </property>
            <property name="text">
             <string>Note: You can also use --clear-settings as a command line option to accomplish this.</string>
            </property>
            <property name="wordWrap">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Ok</set>
     </property>
     <property name="centerButtons">
      <bool>false</bool>
     </property>
374
    </widget>
375 376 377
   </item>
  </layout>
 </widget>
378
 <resources/>
379
 <connections/>
lm's avatar
lm committed
380
</ui>