Skip to content
Snippets Groups Projects
QGCSettingsWidget.ui 6.52 KiB
Newer Older
  • Learn to ignore specific revisions
  • lm's avatar
    lm committed
    <?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>
    
    lm's avatar
    lm committed
       </rect>
      </property>
    
       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
    
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
    
    lm's avatar
    lm committed
      <property name="windowTitle">
       <string>Dialog</string>
      </property>
    
      <layout class="QVBoxLayout" name="verticalLayout">
       <item>
    
        <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="QVBoxLayout" name="verticalLayout_2">
           <item>
    
            <widget class="QCheckBox" name="audioMuteCheckBox">
             <property name="text">
              <string>Mute all audio output</string>
             </property>
             <property name="icon">
    
              <iconset resource="../../qgroundcontrol.qrc">
    
               <normaloff>:/files/images/status/audio-volume-muted.svg</normaloff>:/files/images/status/audio-volume-muted.svg</iconset>
    
             </property>
            </widget>
           </item>
    
            <widget class="QCheckBox" name="reconnectCheckBox">
             <property name="text">
              <string>Automatically reconnect last link on application startup</string>
             </property>
             <property name="icon">
    
              <iconset resource="../../qgroundcontrol.qrc">
    
               <normaloff>:/files/images/devices/network-wireless.svg</normaloff>:/files/images/devices/network-wireless.svg</iconset>
    
            <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>
    
            <widget class="QCheckBox" name="titleBarCheckBox">
             <property name="text">
              <string>Show Docked Widget title bars when NOT in advanced Mode.</string>
             </property>
             <property name="checked">
    
           <item>
            <widget class="QComboBox" name="customModeComboBox"/>
           </item>
    
            <widget class="QGroupBox" name="groupBox">
             <property name="title">
              <string>Style</string>
    
             <property name="flat">
              <bool>false</bool>
             </property>
             <property name="checkable">
              <bool>false</bool>
             </property>
    
             <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>
    
               <layout class="QHBoxLayout" name="DarkStyleLayout">
    
                 <widget class="QLabel" name="label">
    
                  <property name="sizePolicy">
                   <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                   </sizepolicy>
                  </property>
                  <property name="text">
    
                 <widget class="QLineEdit" name="styleSheetFile"/>
    
                 <widget class="QPushButton" name="styleCustomButton">
    
                  <property name="text">
                   <string>Custom</string>
                  </property>
    
                  <property name="autoDefault">
                   <bool>false</bool>
                  </property>
    
                 <widget class="QPushButton" name="styleDefaultButton">
    
                  <property name="text">
                   <string>Default</string>
                  </property>
    
                  <property name="autoDefault">
                   <bool>false</bool>
                  </property>
    
           <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>
    
          </layout>
         </widget>
        </widget>
    
       </item>
       <item>
        <widget class="QDialogButtonBox" name="buttonBox">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="standardButtons">
          <set>QDialogButtonBox::Close</set>
         </property>
    
         <property name="centerButtons">
          <bool>false</bool>
         </property>
    
    lm's avatar
    lm committed
     </widget>
    
      <include location="../../qgroundcontrol.qrc"/>
    
    lm's avatar
    lm committed
     <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>