Skip to content
Snippets Groups Projects
SettingsDialog.ui 12.8 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>SettingsDialog</class>
     <widget class="QDialog" name="SettingsDialog">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
    
        <width>500</width>
    
        <height>689</height>
    
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="windowTitle">
       <string>Dialog</string>
      </property>
    
      <layout class="QVBoxLayout" name="verticalLayout_5">
    
       <item>
        <widget class="QTabWidget" name="tabWidget">
         <widget class="QWidget" name="general">
    
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
    
          <attribute name="title">
           <string>General</string>
          </attribute>
          <attribute name="toolTip">
           <string>General Settings</string>
          </attribute>
    
          <layout class="QVBoxLayout" name="verticalLayout_8">
    
            <widget class="QCheckBox" name="audioMuteCheckBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
    
             </property>
    
             <property name="text">
              <string>Mute all audio output</string>
             </property>
             <property name="iconSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="reconnectCheckBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="text">
              <string>Automatically reconnect last link on application startup</string>
             </property>
             <property name="iconSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="lowPowerCheckBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="toolTip">
              <string>Lowers all update rates to save battery power</string>
             </property>
             <property name="text">
              <string>Enable low power mode</string>
             </property>
             <property name="iconSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="promptFlightDataSave">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="text">
              <string>Prompt to save Flight Data Log after each flight</string>
             </property>
             <property name="iconSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
            </widget>
           </item>
    
           <item>
            <widget class="QGroupBox" name="groupBox_4">
             <property name="title">
              <string>Map Provider</string>
             </property>
             <layout class="QVBoxLayout" name="verticalLayout">
              <item>
               <widget class="QRadioButton" name="bingMapRadio">
                <property name="text">
                 <string>Bing</string>
                </property>
               </widget>
              </item>
              <item>
               <widget class="QRadioButton" name="googleMapRadio">
                <property name="text">
                 <string>Google</string>
                </property>
               </widget>
              </item>
              <item>
               <widget class="QRadioButton" name="openMapRadio">
                <property name="text">
                 <string>Open Streets</string>
                </property>
               </widget>
              </item>
             </layout>
            </widget>
           </item>
    
           <item>
            <widget class="QGroupBox" name="groupBox">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="title">
              <string>Style</string>
             </property>
             <property name="flat">
              <bool>false</bool>
             </property>
             <property name="checkable">
              <bool>false</bool>
             </property>
             <layout class="QVBoxLayout" name="verticalLayout_3">
              <property name="topMargin">
               <number>8</number>
              </property>
              <property name="bottomMargin">
               <number>8</number>
              </property>
              <item>
               <layout class="QHBoxLayout" name="horizontalLayout">
                <property name="spacing">
                 <number>0</number>
                </property>
                <property name="sizeConstraint">
                 <enum>QLayout::SetDefaultConstraint</enum>
                </property>
                <property name="leftMargin">
                 <number>0</number>
                </property>
                <property name="rightMargin">
                 <number>80</number>
                </property>
    
                 <widget class="QComboBox" name="styleChooser">
                  <property name="sizePolicy">
                   <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                   </sizepolicy>
    
                  <property name="minimumSize">
                   <size>
                    <width>200</width>
                    <height>0</height>
                   </size>
    
                   <property name="text">
                    <string>Dark (for indoor use)</string>
                   </property>
    
                  <item>
                   <property name="text">
                    <string>Light (for outdoor use)</string>
                   </property>
                  </item>
                 </widget>
    
              </item>
             </layout>
            </widget>
           </item>
           <item>
            <widget class="QGroupBox" name="fileLocationsLayout">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="minimumSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
             <property name="title">
              <string>File Locations</string>
             </property>
             <layout class="QVBoxLayout" name="verticalLayout_7">
              <item>
               <widget class="QLabel" name="label">
                <property name="sizePolicy">
                 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
                  <horstretch>0</horstretch>
                  <verstretch>0</verstretch>
                 </sizepolicy>
                </property>
                <property name="minimumSize">
                 <size>
                  <width>0</width>
                  <height>0</height>
                 </size>
                </property>
                <property name="text">
                 <string>Specify the location you would like to save files:</string>
                </property>
                <property name="wordWrap">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
              <item>
               <layout class="QHBoxLayout" name="horizontalLayout_2">
    
                 <widget class="QLineEdit" name="savedFilesLocation">
    
                  <property name="minimumSize">
                   <size>
    
                    <width>200</width>
                    <height>21</height>
    
                  <property name="maxLength">
                   <number>1024</number>
    
                 </widget>
                </item>
                <item>
                 <widget class="QPushButton" name="browseSavedFilesLocation">
                  <property name="text">
                   <string>Browse</string>
    
                  </property>
                 </widget>
                </item>
    
               </layout>
              </item>
             </layout>
            </widget>
           </item>
           <item>
            <widget class="QGroupBox" name="groupBox_3">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="title">
              <string>Tool Bar</string>
             </property>
             <layout class="QVBoxLayout" name="verticalLayout_6">
              <item>
               <layout class="QVBoxLayout" name="verticalLayout_2">
    
                 <layout class="QHBoxLayout" name="horizontalLayout_3">
    
                   <widget class="QCheckBox" name="showGPS">
    
                    <property name="minimumSize">
                     <size>
    
                      <width>160</width>
                      <height>0</height>
    
                    <property name="text">
                     <string>Show GPS</string>
    
                  </item>
                  <item>
    
                   <widget class="QCheckBox" name="showMessages">
    
                    <property name="text">
    
                     <string>Show Messages</string>
    
                  </item>
    
                 <layout class="QHBoxLayout" name="horizontalLayout_4">
    
                   <widget class="QCheckBox" name="showBattery">
                    <property name="minimumSize">
                     <size>
                      <width>160</width>
                      <height>0</height>
                     </size>
                    </property>
                    <property name="text">
                     <string>Show Battery</string>
                    </property>
                   </widget>
    
                   <widget class="QCheckBox" name="showMav">
                    <property name="text">
                     <string>Show Mav Icon</string>
                    </property>
                   </widget>
    
                  </item>
                 </layout>
                </item>
                <item>
    
                 <widget class="QCheckBox" name="showRSSI">
    
                  <property name="text">
    
                   <string>Show RSSI</string>
    
                 </widget>
    
               </layout>
    
              </item>
             </layout>
            </widget>
           </item>
           <item>
            <widget class="QGroupBox" name="groupBox_2">
             <property name="title">
              <string>Reset All Settings to Default</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>
              <item>
               <widget class="QLabel" name="label_2">
                <property name="font">
                 <font>
                  <pointsize>11</pointsize>
                 </font>
                </property>
                <property name="text">
                 <string>Note: You can also use --clear-settings as a command line option to accomplish this.</string>
                </property>
                <property name="wordWrap">
                 <bool>true</bool>
                </property>
               </widget>
              </item>
             </layout>
            </widget>
    
           </item>
          </layout>
         </widget>
        </widget>
       </item>
       <item>
        <widget class="QDialogButtonBox" name="buttonBox">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="standardButtons">
          <set>QDialogButtonBox::Ok</set>
         </property>
         <property name="centerButtons">
          <bool>false</bool>
         </property>
    
       </item>
      </layout>
     </widget>
    
     <connections/>
    
    lm's avatar
    lm committed
    </ui>