Expose the auto-download functionality in the UI

This commit is contained in:
Luca Beltrame 2015-02-15 18:33:45 +01:00
parent b72c14dc89
commit d5d0d8ac03

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>501</width>
<height>637</height>
<width>393</width>
<height>436</height>
</rect>
</property>
<property name="windowTitle">
@ -27,75 +27,75 @@
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>General settings</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>131</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_MaxPosts">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>100</number>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="thumbnalLabel">
<property name="text">
<string>Default number of thumbnails to retrieve</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="ratingLabel">
<property name="text">
<string>Maximum allowed rating</string>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>General settings</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="kcfg_MaxRating">
<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>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QCheckBox" name="kcfg_AutoDownload">
<property name="toolTip">
<string>Automatically download posts after connecting.</string>
</property>
<property name="text">
<string>Automatically download posts</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="thumbnalLabel">
<property name="text">
<string>Default number of thumbnails to retrieve</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="ratingLabel">
<property name="text">
<string>Maximum allowed rating</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="kcfg_MaxPosts">
<property name="toolTip">
<string>The number of posts to fetch per page (maximum 100).</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="kcfg_MaxRating">
<property name="toolTip">
<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>
</layout>
</widget>
</item>
</layout>
@ -104,16 +104,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KEditListWidget</class>
<extends>QWidget</extends>
<header>keditlistwidget.h</header>
</customwidget>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>