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