<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CFGQuery</class>
 <widget class="QWidget" name="CFGQuery">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>436</width>
    <height>397</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <widget class="QCheckBox" name="queryOnStartup">
     <property name="text">
      <string>Refresh servers on startup</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="queryBeforeLaunch">
     <property name="text">
      <string>Refresh before launch</string>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="grbServerAutoRefresh">
     <property name="title">
      <string>Servers autorefresh</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <widget class="QLabel" name="label_5">
          <property name="toolTip">
           <string>Minimum value: 30 seconds.</string>
          </property>
          <property name="text">
           <string>Obtain new server list every:</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="numAutoRefreshEverySeconds">
          <property name="toolTip">
           <string>Minimum value: 30 seconds.</string>
          </property>
          <property name="minimum">
           <number>30</number>
          </property>
          <property name="maximum">
           <number>3600</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_6">
          <property name="toolTip">
           <string>Minimum value: 30 seconds.</string>
          </property>
          <property name="text">
           <string>seconds</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="horizontalSpacer">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QCheckBox" name="cbDontRefreshIfActive">
        <property name="toolTip">
         <string>Enabling this will prevent server list from disappearing when you are browsing through it.</string>
        </property>
        <property name="text">
         <string>Don't refresh if Doomseeker window is active.</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>Refresh speed</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_3">
      <item>
       <layout class="QFormLayout" name="formLayout_2">
        <item row="0" column="0">
         <widget class="QLabel" name="label_4">
          <property name="toolTip">
           <string>How many times Doomseeker will attempt to query each server before deeming it to be not responding.</string>
          </property>
          <property name="text">
           <string>Number of attempts per server:</string>
          </property>
         </widget>
        </item>
        <item row="0" column="1">
         <widget class="QSpinBox" name="triesBox">
          <property name="toolTip">
           <string>How many times Doomseeker will attempt to query each server before deeming it to be not responding.</string>
          </property>
          <property name="correctionMode">
           <enum>QAbstractSpinBox::CorrectToNearestValue</enum>
          </property>
          <property name="minimum">
           <number>1</number>
          </property>
          <property name="maximum">
           <number>10</number>
          </property>
          <property name="singleStep">
           <number>1</number>
          </property>
          <property name="value">
           <number>3</number>
          </property>
         </widget>
        </item>
        <item row="1" column="0">
         <widget class="QLabel" name="label">
          <property name="toolTip">
           <string>Delay in miliseconds between each query attempt.</string>
          </property>
          <property name="text">
           <string>Delay between attemps (ms):</string>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QSpinBox" name="timeoutBox">
          <property name="toolTip">
           <string>Delay in miliseconds between each query attempt.</string>
          </property>
          <property name="correctionMode">
           <enum>QAbstractSpinBox::CorrectToNearestValue</enum>
          </property>
          <property name="minimum">
           <number>1000</number>
          </property>
          <property name="maximum">
           <number>10000</number>
          </property>
          <property name="singleStep">
           <number>100</number>
          </property>
          <property name="value">
           <number>1000</number>
          </property>
         </widget>
        </item>
        <item row="2" column="0">
         <widget class="QLabel" name="label_7">
          <property name="text">
           <string>Interval between different servers (ms):</string>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="QSpinBox" name="queryIntervalBox">
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Sleep delay that occurs after querying a server and before querying a next one. Increasing this value may negatively affect the speed of server list refresh, but will free up CPU and decrease bandwidth usage.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="minimum">
           <number>1</number>
          </property>
          <property name="maximum">
           <number>1000</number>
          </property>
          <property name="singleStep">
           <number>10</number>
          </property>
          <property name="value">
           <number>1</number>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_2">
        <item>
         <widget class="QPushButton" name="pushButton">
          <property name="text">
           <string>Cautious</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="pushButton_2">
          <property name="text">
           <string>Moderate</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="pushButton_3">
          <property name="text">
           <string>Aggressive</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="pushButton_4">
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Be warned: in this mode correctly working servers may appear as &amp;quot;not responding&amp;quot;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="text">
           <string>Very aggressive</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QPlainTextEdit" name="plainTextEdit">
        <property name="plainText">
         <string>These buttons change refresh speed settings to different values. Speed settings determine how long will it take to populate the server list and how accurate the refresh will be. Higher speed can mean lesser accuracy.

If you're experiencing problems with refreshing servers, you might prefer &quot;Cautious&quot; preset, while &quot;Aggressive&quot; presets should be preferred with good connection quality.

These values can be also modified by hand.</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>pushButton</sender>
   <signal>clicked()</signal>
   <receiver>CFGQuery</receiver>
   <slot>setCautiousQueryPreset()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>68</x>
     <y>249</y>
    </hint>
    <hint type="destinationlabel">
     <x>6</x>
     <y>394</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pushButton_2</sender>
   <signal>clicked()</signal>
   <receiver>CFGQuery</receiver>
   <slot>setModerateQueryPreset()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>214</x>
     <y>256</y>
    </hint>
    <hint type="destinationlabel">
     <x>92</x>
     <y>394</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pushButton_3</sender>
   <signal>clicked()</signal>
   <receiver>CFGQuery</receiver>
   <slot>setAggressiveQueryPreset()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>319</x>
     <y>256</y>
    </hint>
    <hint type="destinationlabel">
     <x>337</x>
     <y>395</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pushButton_4</sender>
   <signal>clicked()</signal>
   <receiver>CFGQuery</receiver>
   <slot>setVeryAggressiveQueryPreset()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>378</x>
     <y>243</y>
    </hint>
    <hint type="destinationlabel">
     <x>436</x>
     <y>253</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>setCautiousQueryPreset()</slot>
  <slot>setModerateQueryPreset()</slot>
  <slot>setAggressiveQueryPreset()</slot>
  <slot>setVeryAggressiveQueryPreset()</slot>
 </slots>
</ui>
