Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
546 lines
17 KiB
546 lines
17 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<ui version="4.0"> |
|
<class>FeedDownloader</class> |
|
<widget class="QDialog" name="FeedDownloader"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>737</width> |
|
<height>415</height> |
|
</rect> |
|
</property> |
|
<property name="windowTitle"> |
|
<string>RSS Feed downloader</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_7"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
<item> |
|
<widget class="QLabel" name="label_2"> |
|
<property name="font"> |
|
<font> |
|
<pointsize>16</pointsize> |
|
<weight>75</weight> |
|
<bold>true</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>RSS feed:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="rssfeed_lbl"> |
|
<property name="font"> |
|
<font> |
|
<pointsize>16</pointsize> |
|
<weight>75</weight> |
|
<bold>true</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Feed name</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer_5"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="enableDl_cb"> |
|
<property name="text"> |
|
<string>Automatically download torrents from this feed</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QGroupBox" name="filtersBox"> |
|
<property name="enabled"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="font"> |
|
<font> |
|
<weight>75</weight> |
|
<bold>true</bold> |
|
</font> |
|
</property> |
|
<property name="title"> |
|
<string>Download filters</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_3"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
<item> |
|
<layout class="QVBoxLayout" name="verticalLayout"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
<item> |
|
<widget class="QLabel" name="label"> |
|
<property name="font"> |
|
<font> |
|
<weight>75</weight> |
|
<bold>true</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Filters:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QListWidget" name="filtersList"> |
|
<property name="contextMenuPolicy"> |
|
<enum>Qt::CustomContextMenu</enum> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
<item> |
|
<spacer name="horizontalSpacer_2"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="del_button"> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
<property name="icon"> |
|
<iconset resource="icons.qrc"> |
|
<normaloff>:/Icons/oxygen/list-remove.png</normaloff>:/Icons/oxygen/list-remove.png</iconset> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer_4"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeType"> |
|
<enum>QSizePolicy::Fixed</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>10</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="add_button"> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
<property name="icon"> |
|
<iconset resource="icons.qrc"> |
|
<normaloff>:/Icons/oxygen/list-add.png</normaloff>:/Icons/oxygen/list-add.png</iconset> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer_3"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QGroupBox" name="filterSettingsBox"> |
|
<property name="enabled"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="font"> |
|
<font> |
|
<weight>75</weight> |
|
<bold>true</bold> |
|
</font> |
|
</property> |
|
<property name="autoFillBackground"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="styleSheet"> |
|
<string/> |
|
</property> |
|
<property name="title"> |
|
<string>Filter settings</string> |
|
</property> |
|
<property name="flat"> |
|
<bool>false</bool> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_9"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
<item> |
|
<layout class="QVBoxLayout" name="verticalLayout_2"> |
|
<item> |
|
<widget class="QLabel" name="label_3"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Matches:</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="label_4"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Does not match:</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="label_5"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Destination folder:</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<layout class="QVBoxLayout" name="verticalLayout_4"> |
|
<item> |
|
<widget class="QLineEdit" name="match_line"> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLineEdit" name="notmatch_line"/> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
<item> |
|
<widget class="QLineEdit" name="savepath_line"> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>300</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QToolButton" name="browse_button"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>...</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QGroupBox" name="testerBox"> |
|
<property name="title"> |
|
<string>Filter testing</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_8"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
<item> |
|
<layout class="QVBoxLayout" name="verticalLayout_5"> |
|
<item> |
|
<widget class="QLabel" name="label_6"> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>0</width> |
|
<height>28</height> |
|
</size> |
|
</property> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Torrent title:</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="label_7"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Result:</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<layout class="QVBoxLayout" name="verticalLayout_6"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
<item> |
|
<widget class="QLineEdit" name="test_line"/> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="testButton"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string>Test</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
<item> |
|
<widget class="QLabel" name="test_res_lbl"> |
|
<property name="font"> |
|
<font> |
|
<weight>50</weight> |
|
<bold>false</bold> |
|
</font> |
|
</property> |
|
<property name="text"> |
|
<string> </string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer_6"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="verticalSpacer"> |
|
<property name="orientation"> |
|
<enum>Qt::Vertical</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>20</width> |
|
<height>9</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_10"> |
|
<item> |
|
<widget class="QPushButton" name="importButton"> |
|
<property name="text"> |
|
<string>Import...</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="exportButton"> |
|
<property name="text"> |
|
<string>Export...</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDialogButtonBox" name="buttonBox"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="standardButtons"> |
|
<set>QDialogButtonBox::Close</set> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
<action name="actionRename_filter"> |
|
<property name="icon"> |
|
<iconset resource="icons.qrc"> |
|
<normaloff>:/Icons/oxygen/edit_clear.png</normaloff>:/Icons/oxygen/edit_clear.png</iconset> |
|
</property> |
|
<property name="text"> |
|
<string>Rename filter</string> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Rename filter</string> |
|
</property> |
|
</action> |
|
<action name="actionRemove_filter"> |
|
<property name="icon"> |
|
<iconset resource="icons.qrc"> |
|
<normaloff>:/Icons/oxygen/list-remove.png</normaloff>:/Icons/oxygen/list-remove.png</iconset> |
|
</property> |
|
<property name="text"> |
|
<string>Remove filter</string> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Remove filter</string> |
|
</property> |
|
</action> |
|
<action name="actionAdd_filter"> |
|
<property name="icon"> |
|
<iconset resource="icons.qrc"> |
|
<normaloff>:/Icons/oxygen/list-add.png</normaloff>:/Icons/oxygen/list-add.png</iconset> |
|
</property> |
|
<property name="text"> |
|
<string>Add filter</string> |
|
</property> |
|
</action> |
|
</widget> |
|
<resources> |
|
<include location="icons.qrc"/> |
|
</resources> |
|
<connections> |
|
<connection> |
|
<sender>buttonBox</sender> |
|
<signal>accepted()</signal> |
|
<receiver>FeedDownloader</receiver> |
|
<slot>accept()</slot> |
|
<hints> |
|
<hint type="sourcelabel"> |
|
<x>248</x> |
|
<y>254</y> |
|
</hint> |
|
<hint type="destinationlabel"> |
|
<x>157</x> |
|
<y>274</y> |
|
</hint> |
|
</hints> |
|
</connection> |
|
<connection> |
|
<sender>buttonBox</sender> |
|
<signal>rejected()</signal> |
|
<receiver>FeedDownloader</receiver> |
|
<slot>reject()</slot> |
|
<hints> |
|
<hint type="sourcelabel"> |
|
<x>316</x> |
|
<y>260</y> |
|
</hint> |
|
<hint type="destinationlabel"> |
|
<x>286</x> |
|
<y>274</y> |
|
</hint> |
|
</hints> |
|
</connection> |
|
</connections> |
|
</ui>
|
|
|