QGCSettingsWidget.ui 3.95 KB
Newer Older
lm's avatar
lm committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>QGCSettingsWidget</class>
 <widget class="QDialog" name="QGCSettingsWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>535</width>
    <height>427</height>
lm's avatar
lm committed
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
16 17
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
    <widget class="QTabWidget" name="tabWidget">
     <widget class="QWidget" name="general">
      <attribute name="title">
       <string>General</string>
      </attribute>
      <attribute name="toolTip">
       <string>General Settings</string>
      </attribute>
      <layout class="QGridLayout" name="generalPaneGridLayout">
       <item row="0" column="0">
        <widget class="QCheckBox" name="audioMuteCheckBox">
         <property name="text">
          <string>Mute all audio output</string>
         </property>
         <property name="icon">
          <iconset resource="../../mavground.qrc">
34
           <normaloff>:/files/images/status/audio-volume-muted.svg</normaloff>:/files/images/status/audio-volume-muted.svg</iconset>
35 36 37
         </property>
        </widget>
       </item>
38 39 40 41 42 43 44
       <item row="1" column="0">
        <widget class="QCheckBox" name="reconnectCheckBox">
         <property name="text">
          <string>Automatically reconnect last link on application startup</string>
         </property>
         <property name="icon">
          <iconset resource="../../mavground.qrc">
45
           <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
46 47 48
         </property>
        </widget>
       </item>
49
       <item row="3" column="0">
50 51 52 53 54 55 56 57 58
        <widget class="QRadioButton" name="nativeStyle">
         <property name="text">
          <string>Use native platform look and feel (Windows/Linux/Mac OS)</string>
         </property>
         <property name="autoExclusive">
          <bool>true</bool>
         </property>
        </widget>
       </item>
59
       <item row="4" column="0">
60 61 62 63 64 65
        <widget class="QRadioButton" name="indoorStyle">
         <property name="text">
          <string>Use indoor mission style (black background)</string>
         </property>
        </widget>
       </item>
66
       <item row="5" column="0">
67 68 69 70 71 72
        <widget class="QRadioButton" name="outdoorStyle">
         <property name="text">
          <string>Use outdoor mission style (light background)</string>
         </property>
        </widget>
       </item>
73 74 75 76 77 78 79 80 81 82
       <item row="2" column="0">
        <widget class="QCheckBox" name="lowPowerCheckBox">
         <property name="toolTip">
          <string>Lowers all update rates to save battery power</string>
         </property>
         <property name="text">
          <string>Enable low power mode</string>
         </property>
        </widget>
       </item>
83 84 85
      </layout>
     </widget>
    </widget>
86 87 88 89 90 91 92 93 94 95 96 97
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Close</set>
     </property>
    </widget>
   </item>
  </layout>
lm's avatar
lm committed
98
 </widget>
99 100 101
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
lm's avatar
lm committed
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
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>QGCSettingsWidget</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>QGCSettingsWidget</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>