QGCSettingsWidget.ui 6.52 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
    <width>528</width>
10
    <height>455</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
          <item>
112
           <layout class="QHBoxLayout" name="DarkStyleLayout">
113
            <item>
114
             <widget class="QLabel" name="label">
115 116 117 118 119 120 121
              <property name="sizePolicy">
               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
              <property name="text">
122
               <string>Stylesheet:</string>
123 124 125 126
              </property>
             </widget>
            </item>
            <item>
127
             <widget class="QLineEdit" name="styleSheetFile"/>
128 129
            </item>
            <item>
130
             <widget class="QPushButton" name="styleCustomButton">
131 132 133
              <property name="text">
               <string>Custom</string>
              </property>
134 135 136
              <property name="autoDefault">
               <bool>false</bool>
              </property>
137 138 139
             </widget>
            </item>
            <item>
140
             <widget class="QPushButton" name="styleDefaultButton">
141 142 143
              <property name="text">
               <string>Default</string>
              </property>
144 145 146
              <property name="autoDefault">
               <bool>false</bool>
              </property>
147 148 149
             </widget>
            </item>
           </layout>
150 151 152 153
          </item>
         </layout>
        </widget>
       </item>
154 155 156 157 158 159 160 161 162 163 164 165 166
       <item>
        <spacer name="verticalSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>0</height>
          </size>
         </property>
        </spacer>
       </item>
167 168 169
      </layout>
     </widget>
    </widget>
170 171 172 173 174 175 176 177 178
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Close</set>
     </property>
179 180 181
     <property name="centerButtons">
      <bool>false</bool>
     </property>
182 183 184
    </widget>
   </item>
  </layout>
lm's avatar
lm committed
185
 </widget>
186
 <resources>
187
  <include location="../../qgroundcontrol.qrc"/>
188
 </resources>
lm's avatar
lm committed
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
 <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>