danbooru-client/src/ui/generalpage.ui

130 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GeneralPage</class>
<widget class="QWidget" name="GeneralPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>393</width>
<height>436</height>
</rect>
</property>
<property name="windowTitle">
<string/>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="urlGroupBox">
<property name="title">
<string>Danbooru URls</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="KEditListWidget" name="kcfg_Boards">
<property name="buttons">
<set>KEditListWidget::Add|KEditListWidget::Remove</set>
</property>
</widget>
</item>
<item row="1" column="0">
<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="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>
<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="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="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>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</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>
</customwidgets>
<resources/>
<connections/>
</ui>