Allow unlimited initial backlog fetch
[quassel.git] / src / qtui / settingspages / backlogsettingspage.ui
index c5ae88e..8bf41f5 100644 (file)
@@ -1,55 +1,56 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>BacklogSettingsPage</class>
  <class>BacklogSettingsPage</class>
- <widget class="QWidget" name="BacklogSettingsPage" >
-  <property name="geometry" >
+ <widget class="QWidget" name="BacklogSettingsPage">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>439</width>
+    <width>446</width>
     <height>325</height>
    </rect>
   </property>
     <height>325</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Form</string>
   </property>
    <string>Form</string>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout" >
+  <layout class="QVBoxLayout" name="verticalLayout">
    <item>
    <item>
-    <layout class="QHBoxLayout" name="horizontalLayout" >
+    <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
      <item>
-      <widget class="QLabel" name="label_2" >
-       <property name="toolTip" >
+      <widget class="QLabel" name="label_2">
+       <property name="toolTip">
         <string>Number of messages to be requested from the core when using scrolling up in the buffer view.</string>
        </property>
         <string>Number of messages to be requested from the core when using scrolling up in the buffer view.</string>
        </property>
-       <property name="text" >
+       <property name="text">
         <string>Dynamic backlog amount:</string>
        </property>
       </widget>
      </item>
      <item>
         <string>Dynamic backlog amount:</string>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QSpinBox" name="dynamicBacklogAmount" >
-       <property name="maximum" >
-        <number>1000</number>
+      <widget class="QSpinBox" name="dynamicBacklogAmount">
+       <property name="maximum">
+        <number>99999</number>
        </property>
        </property>
-       <property name="singleStep" >
+       <property name="singleStep">
         <number>10</number>
        </property>
         <number>10</number>
        </property>
-       <property name="value" >
+       <property name="value">
         <number>200</number>
        </property>
         <number>200</number>
        </property>
-       <property name="settingsKey" stdset="0" >
+       <property name="settingsKey" stdset="0">
         <string>DynamicBacklogAmount</string>
        </property>
         <string>DynamicBacklogAmount</string>
        </property>
-       <property name="defaultValue" stdset="0" >
+       <property name="defaultValue" stdset="0">
         <number>200</number>
        </property>
       </widget>
      </item>
      <item>
         <number>200</number>
        </property>
       </widget>
      </item>
      <item>
-      <spacer name="horizontalSpacer" >
-       <property name="orientation" >
+      <spacer name="horizontalSpacer">
+       <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
         <enum>Qt::Horizontal</enum>
        </property>
-       <property name="sizeHint" stdset="0" >
+       <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         <size>
          <width>40</width>
          <height>20</height>
     </layout>
    </item>
    <item>
     </layout>
    </item>
    <item>
-    <widget class="Line" name="line" >
-     <property name="orientation" >
+    <widget class="Line" name="line">
+     <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
     </widget>
    </item>
    <item>
       <enum>Qt::Horizontal</enum>
      </property>
     </widget>
    </item>
    <item>
-    <layout class="QHBoxLayout" name="horizontalLayout_5" >
+    <layout class="QHBoxLayout" name="horizontalLayout_5">
      <item>
      <item>
-      <widget class="QLabel" name="label_3" >
-       <property name="text" >
-        <string>Backlog Request Method:</string>
+      <widget class="QLabel" name="label_3">
+       <property name="text">
+        <string>Backlog request method:</string>
        </property>
       </widget>
      </item>
      <item>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QComboBox" name="requesterType" >
+      <widget class="QComboBox" name="requesterType">
        <item>
        <item>
-        <property name="text" >
-         <string>Fixed Amount per Buffer</string>
+        <property name="text">
+         <string>Fixed amount per chat</string>
         </property>
        </item>
        <item>
         </property>
        </item>
        <item>
-        <property name="text" >
-         <string>Unread Messages per Buffer</string>
+        <property name="text">
+         <string>Unread messages per chat</string>
         </property>
        </item>
        <item>
         </property>
        </item>
        <item>
-        <property name="text" >
-         <string>Global Unread Messages</string>
+        <property name="text">
+         <string>Globally unread messages</string>
         </property>
        </item>
       </widget>
      </item>
      <item>
         </property>
        </item>
       </widget>
      </item>
      <item>
-      <spacer name="horizontalSpacer_4" >
-       <property name="orientation" >
+      <spacer name="horizontalSpacer_4">
+       <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
         <enum>Qt::Horizontal</enum>
        </property>
-       <property name="sizeHint" stdset="0" >
+       <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         <size>
          <width>40</width>
          <height>20</height>
     </layout>
    </item>
    <item>
     </layout>
    </item>
    <item>
-    <widget class="QStackedWidget" name="stackedWidget" >
-     <property name="currentIndex" >
-      <number>0</number>
+    <widget class="QStackedWidget" name="stackedWidget">
+     <property name="currentIndex">
+      <number>1</number>
      </property>
      </property>
-     <widget class="QWidget" name="page" >
-      <layout class="QVBoxLayout" name="verticalLayout_2" >
+     <widget class="QWidget" name="page">
+      <layout class="QVBoxLayout" name="verticalLayout_2">
        <item>
        <item>
-        <widget class="QLabel" name="label_9" >
-         <property name="text" >
-          <string>The simplest Requester. It fetches a fixed amount of lines for each buffer from the Backlog.</string>
+        <widget class="QLabel" name="label_9">
+         <property name="text">
+          <string>The simplest requester. It fetches a fixed amount of lines for each chat window from the backlog.</string>
          </property>
          </property>
-         <property name="textFormat" >
+         <property name="textFormat">
           <enum>Qt::PlainText</enum>
          </property>
           <enum>Qt::PlainText</enum>
          </property>
-         <property name="wordWrap" >
+         <property name="wordWrap">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
-        <layout class="QHBoxLayout" name="horizontalLayout_2" >
+        <layout class="QHBoxLayout" name="horizontalLayout_2">
          <item>
          <item>
-          <widget class="QLabel" name="label" >
-           <property name="toolTip" >
+          <widget class="QLabel" name="label">
+           <property name="toolTip">
             <string>amount of messages per buffer that are requested after the core connection has been established.</string>
            </property>
             <string>amount of messages per buffer that are requested after the core connection has been established.</string>
            </property>
-           <property name="text" >
+           <property name="text">
             <string>Initial backlog amount:</string>
            </property>
           </widget>
          </item>
          <item>
             <string>Initial backlog amount:</string>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QSpinBox" name="fixedBacklogAmount" >
-           <property name="maximum" >
-            <number>1000</number>
+          <widget class="QSpinBox" name="fixedBacklogAmount">
+           <property name="specialValueText">
+            <string/>
+           </property>
+           <property name="minimum">
+            <number>0</number>
+           </property>
+           <property name="maximum">
+            <number>99999</number>
            </property>
            </property>
-           <property name="singleStep" >
+           <property name="singleStep">
             <number>10</number>
            </property>
             <number>10</number>
            </property>
-           <property name="value" >
+           <property name="value">
             <number>500</number>
            </property>
             <number>500</number>
            </property>
-           <property name="settingsKey" stdset="0" >
+           <property name="settingsKey" stdset="0">
             <string>FixedBacklogAmount</string>
            </property>
             <string>FixedBacklogAmount</string>
            </property>
-           <property name="defaultValue" stdset="0" >
+           <property name="defaultValue" stdset="0">
             <number>500</number>
            </property>
           </widget>
          </item>
          <item>
             <number>500</number>
            </property>
           </widget>
          </item>
          <item>
-          <spacer name="horizontalSpacer_2" >
-           <property name="orientation" >
+          <spacer name="horizontalSpacer_2">
+           <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
             <enum>Qt::Horizontal</enum>
            </property>
-           <property name="sizeHint" stdset="0" >
+           <property name="sizeHint" stdset="0">
             <size>
              <width>263</width>
              <height>20</height>
             <size>
              <width>263</width>
              <height>20</height>
         </layout>
        </item>
        <item>
         </layout>
        </item>
        <item>
-        <spacer name="verticalSpacer_4" >
-         <property name="orientation" >
+        <spacer name="verticalSpacer_4">
+         <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
           <enum>Qt::Vertical</enum>
          </property>
-         <property name="sizeHint" stdset="0" >
+         <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           <size>
            <width>20</width>
            <height>40</height>
        </item>
       </layout>
      </widget>
        </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="page_2" >
-      <layout class="QVBoxLayout" name="verticalLayout_3" >
+     <widget class="QWidget" name="page_2">
+      <layout class="QVBoxLayout" name="verticalLayout_3">
        <item>
        <item>
-        <widget class="QLabel" name="label_10" >
-         <property name="text" >
-          <string>This requester fetches unread messages for each buffer individually. The amount of lines can be limited per buffer.
+        <widget class="QLabel" name="label_10">
+         <property name="text">
+          <string>This requester fetches unread messages for each chat window individually. The amount of lines can be limited per chat.
 
 You can also choose to fetch additional older chatlines to provide a better context.</string>
          </property>
 
 You can also choose to fetch additional older chatlines to provide a better context.</string>
          </property>
-         <property name="textFormat" >
+         <property name="textFormat">
           <enum>Qt::PlainText</enum>
          </property>
           <enum>Qt::PlainText</enum>
          </property>
-         <property name="wordWrap" >
+         <property name="wordWrap">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
-        <layout class="QHBoxLayout" name="horizontalLayout_3" >
+        <layout class="QHBoxLayout" name="horizontalLayout_3">
          <item>
          <item>
-          <widget class="QLabel" name="label_11" >
-           <property name="toolTip" >
+          <widget class="QLabel" name="label_11">
+           <property name="toolTip">
             <string>Maximum amount of messages to be fetched per buffer.</string>
            </property>
             <string>Maximum amount of messages to be fetched per buffer.</string>
            </property>
-           <property name="text" >
+           <property name="text">
             <string>Limit:</string>
            </property>
           </widget>
          </item>
          <item>
             <string>Limit:</string>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QSpinBox" name="perBufferUnreadLimit" >
-           <property name="toolTip" >
+          <widget class="QSpinBox" name="perBufferUnreadLimit">
+           <property name="toolTip">
             <string>Maximum amount of messages to be fetched per buffer.</string>
            </property>
             <string>Maximum amount of messages to be fetched per buffer.</string>
            </property>
-           <property name="maximum" >
-            <number>1000</number>
+           <property name="specialValueText">
+            <string>Unlimited</string>
+           </property>
+           <property name="minimum">
+            <number>-1</number>
+           </property>
+           <property name="maximum">
+            <number>99999</number>
            </property>
            </property>
-           <property name="singleStep" >
+           <property name="singleStep">
             <number>10</number>
            </property>
             <number>10</number>
            </property>
-           <property name="value" >
-            <number>200</number>
+           <property name="value">
+            <number>1000</number>
            </property>
            </property>
-           <property name="settingsKey" stdset="0" >
+           <property name="settingsKey" stdset="0">
             <string>PerBufferUnreadBacklogLimit</string>
            </property>
             <string>PerBufferUnreadBacklogLimit</string>
            </property>
-           <property name="defaultValue" stdset="0" >
-            <number>200</number>
+           <property name="defaultValue" stdset="0">
+            <number>1000</number>
            </property>
           </widget>
          </item>
          <item>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QLabel" name="label_12" >
-           <property name="toolTip" >
+          <widget class="QLabel" name="label_12">
+           <property name="toolTip">
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
-           <property name="text" >
+           <property name="text">
             <string>Additional Messages:</string>
            </property>
           </widget>
          </item>
          <item>
             <string>Additional Messages:</string>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QSpinBox" name="perBufferUnreadAdditional" >
-           <property name="toolTip" >
+          <widget class="QSpinBox" name="perBufferUnreadAdditional">
+           <property name="toolTip">
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
-           <property name="maximum" >
+           <property name="maximum">
             <number>1000</number>
            </property>
             <number>1000</number>
            </property>
-           <property name="singleStep" >
+           <property name="singleStep">
             <number>10</number>
            </property>
             <number>10</number>
            </property>
-           <property name="value" >
+           <property name="value">
             <number>50</number>
            </property>
             <number>50</number>
            </property>
-           <property name="settingsKey" stdset="0" >
+           <property name="settingsKey" stdset="0">
             <string>PerBufferUnreadBacklogAdditional</string>
            </property>
             <string>PerBufferUnreadBacklogAdditional</string>
            </property>
-           <property name="defaultValue" stdset="0" >
+           <property name="defaultValue" stdset="0">
             <number>50</number>
            </property>
           </widget>
          </item>
          <item>
             <number>50</number>
            </property>
           </widget>
          </item>
          <item>
-          <spacer name="horizontalSpacer_5" >
-           <property name="orientation" >
+          <spacer name="horizontalSpacer_5">
+           <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
             <enum>Qt::Horizontal</enum>
            </property>
-           <property name="sizeHint" stdset="0" >
+           <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             <size>
              <width>40</width>
              <height>20</height>
@@ -289,11 +302,11 @@ You can also choose to fetch additional older chatlines to provide a better cont
         </layout>
        </item>
        <item>
         </layout>
        </item>
        <item>
-        <spacer name="verticalSpacer_3" >
-         <property name="orientation" >
+        <spacer name="verticalSpacer_3">
+         <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
           <enum>Qt::Vertical</enum>
          </property>
-         <property name="sizeHint" stdset="0" >
+         <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           <size>
            <width>20</width>
            <height>40</height>
@@ -303,98 +316,104 @@ You can also choose to fetch additional older chatlines to provide a better cont
        </item>
       </layout>
      </widget>
        </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="Seite" >
-      <layout class="QVBoxLayout" name="verticalLayout_4" >
+     <widget class="QWidget" name="Seite">
+      <layout class="QVBoxLayout" name="verticalLayout_4">
        <item>
        <item>
-        <widget class="QLabel" name="label_15" >
-         <property name="text" >
-          <string>This requester fetches all messages newer than the oldest unread message for all buffers.
+        <widget class="QLabel" name="label_15">
+         <property name="text">
+          <string>This requester fetches all messages newer than the oldest unread message for all chats.
 
 
-Note: this requester is not recommended if you use hidden buffer or have inactive buffers (i.e.: no stale queries or channels).
+Note: This requester is not recommended if you use hidden chat windows or have inactive chats (i.e.: no stale queries or channels).
 It is useful to limit the total amount of the backlog and is probably the fastest.
 
 It is useful to limit the total amount of the backlog and is probably the fastest.
 
-You can also chose to fetch additional older chatlines to provide a better context similar.</string>
+You can also chose to fetch additional older chatlines to provide a better context.</string>
          </property>
          </property>
-         <property name="textFormat" >
+         <property name="textFormat">
           <enum>Qt::PlainText</enum>
          </property>
           <enum>Qt::PlainText</enum>
          </property>
-         <property name="wordWrap" >
+         <property name="wordWrap">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
-        <layout class="QHBoxLayout" name="horizontalLayout_4" >
+        <layout class="QHBoxLayout" name="horizontalLayout_4">
          <item>
          <item>
-          <widget class="QLabel" name="label_13" >
-           <property name="toolTip" >
+          <widget class="QLabel" name="label_13">
+           <property name="toolTip">
             <string>Maximum amount of messages to be fetched over all buffers.</string>
            </property>
             <string>Maximum amount of messages to be fetched over all buffers.</string>
            </property>
-           <property name="text" >
+           <property name="text">
             <string>Limit:</string>
            </property>
           </widget>
          </item>
          <item>
             <string>Limit:</string>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QSpinBox" name="globalUnreadLimit" >
-           <property name="toolTip" >
+          <widget class="QSpinBox" name="globalUnreadLimit">
+           <property name="toolTip">
             <string>Maximum amount of messages to be fetched per buffer.</string>
            </property>
             <string>Maximum amount of messages to be fetched per buffer.</string>
            </property>
-           <property name="maximum" >
+           <property name="specialValueText">
+            <string>Unlimited</string>
+           </property>
+           <property name="minimum">
+            <number>-1</number>
+           </property>
+           <property name="maximum">
             <number>100000</number>
            </property>
             <number>100000</number>
            </property>
-           <property name="singleStep" >
+           <property name="singleStep">
             <number>10</number>
            </property>
             <number>10</number>
            </property>
-           <property name="value" >
+           <property name="value">
             <number>200</number>
            </property>
             <number>200</number>
            </property>
-           <property name="settingsKey" stdset="0" >
+           <property name="settingsKey" stdset="0">
             <string>GlobalUnreadBacklogLimit</string>
            </property>
             <string>GlobalUnreadBacklogLimit</string>
            </property>
-           <property name="defaultValue" stdset="0" >
+           <property name="defaultValue" stdset="0">
             <number>200</number>
            </property>
           </widget>
          </item>
          <item>
             <number>200</number>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QLabel" name="label_14" >
-           <property name="toolTip" >
+          <widget class="QLabel" name="label_14">
+           <property name="toolTip">
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
-           <property name="text" >
+           <property name="text">
             <string>Additional Messages:</string>
            </property>
           </widget>
          </item>
          <item>
             <string>Additional Messages:</string>
            </property>
           </widget>
          </item>
          <item>
-          <widget class="QSpinBox" name="globalUnreadAdditional" >
-           <property name="toolTip" >
+          <widget class="QSpinBox" name="globalUnreadAdditional">
+           <property name="toolTip">
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
             <string>Amount of messages to be fetched in addition to the unread messages. The Limit does not apply here.</string>
            </property>
-           <property name="maximum" >
+           <property name="maximum">
             <number>1000</number>
            </property>
             <number>1000</number>
            </property>
-           <property name="singleStep" >
+           <property name="singleStep">
             <number>10</number>
            </property>
             <number>10</number>
            </property>
-           <property name="value" >
+           <property name="value">
             <number>50</number>
            </property>
             <number>50</number>
            </property>
-           <property name="settingsKey" stdset="0" >
+           <property name="settingsKey" stdset="0">
             <string>GlobalUnreadBacklogAdditional</string>
            </property>
             <string>GlobalUnreadBacklogAdditional</string>
            </property>
-           <property name="defaultValue" stdset="0" >
+           <property name="defaultValue" stdset="0">
             <number>50</number>
            </property>
           </widget>
          </item>
          <item>
             <number>50</number>
            </property>
           </widget>
          </item>
          <item>
-          <spacer name="horizontalSpacer_3" >
-           <property name="orientation" >
+          <spacer name="horizontalSpacer_3">
+           <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
             <enum>Qt::Horizontal</enum>
            </property>
-           <property name="sizeHint" stdset="0" >
+           <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             <size>
              <width>40</width>
              <height>20</height>
@@ -405,11 +424,11 @@ You can also chose to fetch additional older chatlines to provide a better conte
         </layout>
        </item>
        <item>
         </layout>
        </item>
        <item>
-        <spacer name="verticalSpacer" >
-         <property name="orientation" >
+        <spacer name="verticalSpacer">
+         <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
           <enum>Qt::Vertical</enum>
          </property>
-         <property name="sizeHint" stdset="0" >
+         <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           <size>
            <width>20</width>
            <height>40</height>
@@ -422,11 +441,11 @@ You can also chose to fetch additional older chatlines to provide a better conte
     </widget>
    </item>
    <item>
     </widget>
    </item>
    <item>
-    <spacer name="verticalSpacer_2" >
-     <property name="orientation" >
+    <spacer name="verticalSpacer_2">
+     <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
       <enum>Qt::Vertical</enum>
      </property>
-     <property name="sizeHint" stdset="0" >
+     <property name="sizeHint" stdset="0">
       <size>
        <width>20</width>
        <height>40</height>
       <size>
        <width>20</width>
        <height>40</height>
@@ -444,11 +463,11 @@ You can also chose to fetch additional older chatlines to provide a better conte
    <receiver>stackedWidget</receiver>
    <slot>setCurrentIndex(int)</slot>
    <hints>
    <receiver>stackedWidget</receiver>
    <slot>setCurrentIndex(int)</slot>
    <hints>
-    <hint type="sourcelabel" >
+    <hint type="sourcelabel">
      <x>316</x>
      <y>31</y>
     </hint>
      <x>316</x>
      <y>31</y>
     </hint>
-    <hint type="destinationlabel" >
+    <hint type="destinationlabel">
      <x>147</x>
      <y>142</y>
     </hint>
      <x>147</x>
      <y>142</y>
     </hint>