QGCSettingsWidget.ui 6.68 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>347</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
         </property>
73 74
        </widget>
       </item>
75 76
       <item>
        <widget class="QCheckBox" name="apmToolBarCheckBox">
77
         <property name="text">
78
          <string>Show ArduPilot specific toolbar (restart QGC after change)</string>
79
         </property>
80 81
        </widget>
       </item>
82
       <item>
83 84 85
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Style</string>
86
         </property>
87 88 89 90 91 92
         <property name="flat">
          <bool>false</bool>
         </property>
         <property name="checkable">
          <bool>false</bool>
         </property>
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
         <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>
115
          <item>
116
           <layout class="QHBoxLayout" name="DarkStyleLayout">
117
            <item>
118
             <widget class="QLabel" name="label">
119 120 121 122 123 124 125
              <property name="sizePolicy">
               <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
              <property name="text">
126
               <string>Stylesheet:</string>
127 128 129 130
              </property>
             </widget>
            </item>
            <item>
131
             <widget class="QLineEdit" name="styleSheetFile"/>
132 133
            </item>
            <item>
134
             <widget class="QPushButton" name="styleCustomButton">
135 136 137
              <property name="text">
               <string>Custom</string>
              </property>
138 139 140
              <property name="autoDefault">
               <bool>false</bool>
              </property>
141 142 143
             </widget>
            </item>
            <item>
144
             <widget class="QPushButton" name="styleDefaultButton">
145 146 147
              <property name="text">
               <string>Default</string>
              </property>
148 149 150
              <property name="autoDefault">
               <bool>false</bool>
              </property>
151 152 153
             </widget>
            </item>
           </layout>
154 155 156 157
          </item>
         </layout>
        </widget>
       </item>
158 159 160 161 162 163 164 165 166 167 168 169 170
       <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>
171 172 173
      </layout>
     </widget>
    </widget>
174 175 176 177 178 179 180 181 182
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Close</set>
     </property>
183 184 185
     <property name="centerButtons">
      <bool>false</bool>
     </property>
186 187 188
    </widget>
   </item>
  </layout>
lm's avatar
lm committed
189
 </widget>
190
 <resources>
191
  <include location="../../qgroundcontrol.qrc"/>
192
 </resources>
lm's avatar
lm committed
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
 <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>