client: Optionally ensure backlog on buffer show
[quassel.git] / src / qtui / settingspages / backlogsettingspage.ui
index 8bf41f5..dd15894 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>446</width>
-    <height>325</height>
+    <height>329</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -38,7 +38,7 @@
         <number>200</number>
        </property>
        <property name="settingsKey" stdset="0">
-        <string>DynamicBacklogAmount</string>
+        <string notr="true">DynamicBacklogAmount</string>
        </property>
        <property name="defaultValue" stdset="0">
         <number>200</number>
      </item>
     </layout>
    </item>
+   <item>
+    <widget class="QCheckBox" name="ensureBacklogOnBufferShow">
+     <property name="toolTip">
+      <string>When switching to a chat, more backlog will be fetched if no messages are shown yet or the scrollbar isn't visible.  Useful when not fetching any initial backlog.</string>
+     </property>
+     <property name="text">
+      <string>Fetch backlog if needed when switching chats</string>
+     </property>
+     <property name="settingsKey" stdset="0">
+      <string notr="true">EnsureBacklogOnBufferShow</string>
+     </property>
+     <property name="defaultValue" stdset="0">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
    <item>
     <widget class="Line" name="line">
      <property name="orientation">
    <item>
     <widget class="QStackedWidget" name="stackedWidget">
      <property name="currentIndex">
-      <number>1</number>
+      <number>0</number>
      </property>
      <widget class="QWidget" name="page">
       <layout class="QVBoxLayout" name="verticalLayout_2">
          <item>
           <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>
+            <string>Amount of messages per buffer that are requested after the core connection has been established.</string>
            </property>
            <property name="text">
             <string>Initial backlog amount:</string>
             <number>500</number>
            </property>
            <property name="settingsKey" stdset="0">
-            <string>FixedBacklogAmount</string>
+            <string notr="true">FixedBacklogAmount</string>
            </property>
            <property name="defaultValue" stdset="0">
             <number>500</number>
@@ -247,7 +263,7 @@ You can also choose to fetch additional older chatlines to provide a better cont
             <number>1000</number>
            </property>
            <property name="settingsKey" stdset="0">
-            <string>PerBufferUnreadBacklogLimit</string>
+            <string notr="true">PerBufferUnreadBacklogLimit</string>
            </property>
            <property name="defaultValue" stdset="0">
             <number>1000</number>
@@ -279,7 +295,7 @@ You can also choose to fetch additional older chatlines to provide a better cont
             <number>50</number>
            </property>
            <property name="settingsKey" stdset="0">
-            <string>PerBufferUnreadBacklogAdditional</string>
+            <string notr="true">PerBufferUnreadBacklogAdditional</string>
            </property>
            <property name="defaultValue" stdset="0">
             <number>50</number>
@@ -369,7 +385,7 @@ You can also chose to fetch additional older chatlines to provide a better conte
             <number>200</number>
            </property>
            <property name="settingsKey" stdset="0">
-            <string>GlobalUnreadBacklogLimit</string>
+            <string notr="true">GlobalUnreadBacklogLimit</string>
            </property>
            <property name="defaultValue" stdset="0">
             <number>200</number>
@@ -401,7 +417,7 @@ You can also chose to fetch additional older chatlines to provide a better conte
             <number>50</number>
            </property>
            <property name="settingsKey" stdset="0">
-            <string>GlobalUnreadBacklogAdditional</string>
+            <string notr="true">GlobalUnreadBacklogAdditional</string>
            </property>
            <property name="defaultValue" stdset="0">
             <number>50</number>