Allow to configure infinite scrolling

This commit is contained in:
Luca Beltrame 2015-02-21 11:33:08 +01:00
commit 44d632258d
4 changed files with 51 additions and 32 deletions

View file

@ -36,14 +36,26 @@
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QCheckBox" name="kcfg_AutoDownload">
<item row="1" column="1">
<widget class="KComboBox" name="kcfg_MaxRating">
<property name="toolTip">
<string>Automatically download posts after connecting.</string>
</property>
<property name="text">
<string>Automatically download posts</string>
<string>Only include posts up to this rating level.</string>
</property>
<item>
<property name="text">
<string>Safe</string>
</property>
</item>
<item>
<property name="text">
<string>Questionable</string>
</property>
</item>
<item>
<property name="text">
<string>Explicit</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
@ -73,26 +85,24 @@
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="kcfg_MaxRating">
<item row="2" column="0">
<widget class="QCheckBox" name="kcfg_AutoDownload">
<property name="toolTip">
<string>Only include posts up to this rating level.</string>
<string>Automatically download posts after connecting.</string>
</property>
<property name="text">
<string>Automatically download posts</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="kcfg_InfiniteScrolling">
<property name="toolTip">
<string>Allow downloading new posts by simply scrolling to the end of the thumbnail view.</string>
</property>
<property name="text">
<string>Enable infinite scrolling</string>
</property>
<item>
<property name="text">
<string>Safe</string>
</property>
</item>
<item>
<property name="text">
<string>Questionable</string>
</property>
</item>
<item>
<property name="text">
<string>Explicit</string>
</property>
</item>
</widget>
</item>
</layout>
@ -104,16 +114,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KEditListWidget</class>
<extends>QWidget</extends>
<header>keditlistwidget.h</header>
</customwidget>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KEditListWidget</class>
<extends>QWidget</extends>
<header>keditlistwidget.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>