QGCSettingsWidget.ui 5.7 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>534</width>
    <height>517</height>
lm's avatar
lm committed
11 12
   </rect>
  </property>
13
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
15 16 17 18
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
lm's avatar
lm committed
19 20 21
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
22 23
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
24 25 26 27 28 29 30 31
    <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>
32 33
      <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
34 35 36 37 38
        <widget class="QCheckBox" name="audioMuteCheckBox">
         <property name="text">
          <string>Mute all audio output</string>
         </property>
         <property name="icon">
39
          <iconset resource="../../qgroundcontrol.qrc">
40
           <normaloff>:/files/images/status/audio-volume-muted.svg</normaloff>:/files/images/status/audio-volume-muted.svg</iconset>
41 42 43
         </property>
        </widget>
       </item>
44
       <item>
45 46 47 48 49
        <widget class="QCheckBox" name="reconnectCheckBox">
         <property name="text">
          <string>Automatically reconnect last link on application startup</string>
         </property>
         <property name="icon">
50
          <iconset resource="../../qgroundcontrol.qrc">
51
           <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
52 53 54
         </property>
        </widget>
       </item>
55
       <item>
56 57 58 59 60 61 62 63 64
        <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>
65
       <item>
66 67 68 69 70
        <widget class="QCheckBox" name="titleBarCheckBox">
         <property name="text">
          <string>Show Docked Widget title bars when NOT in advanced Mode.</string>
         </property>
         <property name="checked">
71
          <bool>false</bool>
72 73 74
         </property>
        </widget>
       </item>
75 76 77
       <item>
        <widget class="QComboBox" name="customModeComboBox"/>
       </item>
78
       <item>
79 80 81
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Style</string>
82
         </property>
83 84 85 86 87 88
         <property name="flat">
          <bool>false</bool>
         </property>
         <property name="checkable">
          <bool>false</bool>
         </property>
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
         <layout class="QVBoxLayout" name="verticalLayout_3">
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout">
            <property name="sizeConstraint">
             <enum>QLayout::SetMinimumSize</enum>
            </property>
            <item>
             <widget class="QComboBox" name="styleChooser">
              <item>
               <property name="text">
                <string>Dark (for indoor use)</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string>Light (for outdoor use)</string>
               </property>
              </item>
             </widget>
            </item>
           </layout>
          </item>
111 112 113
         </layout>
        </widget>
       </item>
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
       <item>
        <widget class="QGroupBox" name="groupBox_2">
         <property name="title">
          <string>Danger Zone</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>
         </layout>
        </widget>
       </item>
130 131 132 133 134 135 136 137
       <item>
        <spacer name="verticalSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
138
           <height>20</height>
139 140 141 142
          </size>
         </property>
        </spacer>
       </item>
143 144 145
      </layout>
     </widget>
    </widget>
146 147 148 149 150 151 152 153 154
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Close</set>
     </property>
155 156 157
     <property name="centerButtons">
      <bool>false</bool>
     </property>
158 159 160
    </widget>
   </item>
  </layout>
lm's avatar
lm committed
161
 </widget>
162
 <resources>
163
  <include location="../../qgroundcontrol.qrc"/>
164
 </resources>
lm's avatar
lm committed
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
 <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>