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.
602 lines
18 KiB
602 lines
18 KiB
<ui version="4.0" > |
|
<class>MainWindow</class> |
|
<widget class="QMainWindow" name="MainWindow" > |
|
<property name="geometry" > |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>849</width> |
|
<height>563</height> |
|
</rect> |
|
</property> |
|
<property name="contextMenuPolicy" > |
|
<enum>Qt::CustomContextMenu</enum> |
|
</property> |
|
<property name="windowTitle" > |
|
<string/> |
|
</property> |
|
<property name="unifiedTitleAndToolBarOnMac" > |
|
<bool>false</bool> |
|
</property> |
|
<widget class="QWidget" name="centralwidget" > |
|
<layout class="QVBoxLayout" > |
|
<property name="spacing" > |
|
<number>6</number> |
|
</property> |
|
<property name="leftMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="topMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="rightMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="bottomMargin" > |
|
<number>9</number> |
|
</property> |
|
<item> |
|
<widget class="QTabWidget" name="tabs" > |
|
<property name="tabPosition" > |
|
<enum>QTabWidget::North</enum> |
|
</property> |
|
<property name="currentIndex" > |
|
<number>0</number> |
|
</property> |
|
<widget class="QWidget" name="tab" > |
|
<attribute name="title" > |
|
<string>Downloads</string> |
|
</attribute> |
|
<layout class="QVBoxLayout" > |
|
<property name="spacing" > |
|
<number>6</number> |
|
</property> |
|
<property name="leftMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="topMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="rightMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="bottomMargin" > |
|
<number>9</number> |
|
</property> |
|
<item> |
|
<layout class="QVBoxLayout" > |
|
<property name="spacing" > |
|
<number>6</number> |
|
</property> |
|
<property name="leftMargin" > |
|
<number>0</number> |
|
</property> |
|
<property name="topMargin" > |
|
<number>0</number> |
|
</property> |
|
<property name="rightMargin" > |
|
<number>0</number> |
|
</property> |
|
<property name="bottomMargin" > |
|
<number>0</number> |
|
</property> |
|
<item> |
|
<layout class="QHBoxLayout" > |
|
<property name="spacing" > |
|
<number>6</number> |
|
</property> |
|
<property name="leftMargin" > |
|
<number>0</number> |
|
</property> |
|
<property name="topMargin" > |
|
<number>0</number> |
|
</property> |
|
<property name="rightMargin" > |
|
<number>0</number> |
|
</property> |
|
<property name="bottomMargin" > |
|
<number>0</number> |
|
</property> |
|
<item> |
|
<spacer> |
|
<property name="orientation" > |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" > |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="lbl_DLSpeed" > |
|
<property name="text" > |
|
<string>Total DL Speed:</string> |
|
</property> |
|
<property name="alignment" > |
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLCDNumber" name="LCD_DownSpeed" > |
|
<property name="autoFillBackground" > |
|
<bool>true</bool> |
|
</property> |
|
<property name="frameShadow" > |
|
<enum>QFrame::Raised</enum> |
|
</property> |
|
<property name="smallDecimalPoint" > |
|
<bool>false</bool> |
|
</property> |
|
<property name="numDigits" > |
|
<number>6</number> |
|
</property> |
|
<property name="segmentStyle" > |
|
<enum>QLCDNumber::Flat</enum> |
|
</property> |
|
<property name="value" stdset="0" > |
|
<double>0.000000000000000</double> |
|
</property> |
|
<property name="intValue" stdset="0" > |
|
<number>0</number> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="unitDL" > |
|
<property name="text" > |
|
<string>KiB/s</string> |
|
</property> |
|
<property name="alignment" > |
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer> |
|
<property name="orientation" > |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" > |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="label" > |
|
<property name="text" > |
|
<string>Session ratio: </string> |
|
</property> |
|
<property name="alignment" > |
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLCDNumber" name="LCD_Ratio" > |
|
<property name="autoFillBackground" > |
|
<bool>true</bool> |
|
</property> |
|
<property name="numDigits" > |
|
<number>4</number> |
|
</property> |
|
<property name="segmentStyle" > |
|
<enum>QLCDNumber::Flat</enum> |
|
</property> |
|
<property name="value" stdset="0" > |
|
<double>1.000000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="lbl_ratio_icon" > |
|
<property name="text" > |
|
<string/> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer> |
|
<property name="orientation" > |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" > |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="lbl_UPSpeed" > |
|
<property name="text" > |
|
<string>Total UP Speed:</string> |
|
</property> |
|
<property name="alignment" > |
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLCDNumber" name="LCD_UpSpeed" > |
|
<property name="autoFillBackground" > |
|
<bool>true</bool> |
|
</property> |
|
<property name="smallDecimalPoint" > |
|
<bool>false</bool> |
|
</property> |
|
<property name="numDigits" > |
|
<number>6</number> |
|
</property> |
|
<property name="segmentStyle" > |
|
<enum>QLCDNumber::Flat</enum> |
|
</property> |
|
<property name="value" stdset="0" > |
|
<double>0.000000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="unitUP" > |
|
<property name="text" > |
|
<string>KiB/s</string> |
|
</property> |
|
<property name="alignment" > |
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer> |
|
<property name="orientation" > |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" > |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QTreeView" name="downloadList" > |
|
<property name="minimumSize" > |
|
<size> |
|
<width>0</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
<property name="contextMenuPolicy" > |
|
<enum>Qt::CustomContextMenu</enum> |
|
</property> |
|
<property name="autoScroll" > |
|
<bool>true</bool> |
|
</property> |
|
<property name="selectionMode" > |
|
<enum>QAbstractItemView::ExtendedSelection</enum> |
|
</property> |
|
<property name="indentation" > |
|
<number>1</number> |
|
</property> |
|
<property name="itemsExpandable" > |
|
<bool>false</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QTabWidget" name="tabBottom" > |
|
<property name="maximumSize" > |
|
<size> |
|
<width>16777215</width> |
|
<height>142</height> |
|
</size> |
|
</property> |
|
<property name="tabPosition" > |
|
<enum>QTabWidget::West</enum> |
|
</property> |
|
<property name="currentIndex" > |
|
<number>0</number> |
|
</property> |
|
<widget class="QWidget" name="log_tab" > |
|
<attribute name="title" > |
|
<string>Log</string> |
|
</attribute> |
|
<layout class="QVBoxLayout" > |
|
<property name="spacing" > |
|
<number>6</number> |
|
</property> |
|
<property name="leftMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="topMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="rightMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="bottomMargin" > |
|
<number>9</number> |
|
</property> |
|
<item> |
|
<widget class="QTextBrowser" name="infoBar" > |
|
<property name="sizePolicy" > |
|
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" > |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="maximumSize" > |
|
<size> |
|
<width>16777215</width> |
|
<height>120</height> |
|
</size> |
|
</property> |
|
<property name="contextMenuPolicy" > |
|
<enum>Qt::CustomContextMenu</enum> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<widget class="QWidget" name="filter_tab" > |
|
<attribute name="title" > |
|
<string>IP filter</string> |
|
</attribute> |
|
<layout class="QVBoxLayout" > |
|
<property name="spacing" > |
|
<number>6</number> |
|
</property> |
|
<property name="leftMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="topMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="rightMargin" > |
|
<number>9</number> |
|
</property> |
|
<property name="bottomMargin" > |
|
<number>9</number> |
|
</property> |
|
<item> |
|
<widget class="QTextBrowser" name="textBlockedUsers" > |
|
<property name="maximumSize" > |
|
<size> |
|
<width>16777215</width> |
|
<height>123</height> |
|
</size> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<widget class="QMenuBar" name="menubar" > |
|
<property name="geometry" > |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>849</width> |
|
<height>29</height> |
|
</rect> |
|
</property> |
|
<widget class="QMenu" name="menu_Edit" > |
|
<property name="title" > |
|
<string>&Edit</string> |
|
</property> |
|
<addaction name="actionStart_All" /> |
|
<addaction name="actionPause_All" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionStart" /> |
|
<addaction name="actionPause" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionTorrent_Properties" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionDelete" /> |
|
<addaction name="actionDelete_Permanently" /> |
|
</widget> |
|
<widget class="QMenu" name="menu_Help" > |
|
<property name="title" > |
|
<string>&Help</string> |
|
</property> |
|
<addaction name="actionBugReport" /> |
|
<addaction name="actionWebsite" /> |
|
<addaction name="actionDocumentation" /> |
|
<addaction name="actionAbout" /> |
|
</widget> |
|
<widget class="QMenu" name="menu_Options" > |
|
<property name="title" > |
|
<string>&Options</string> |
|
</property> |
|
<addaction name="actionOptions" /> |
|
</widget> |
|
<widget class="QMenu" name="menu_File" > |
|
<property name="title" > |
|
<string>&File</string> |
|
</property> |
|
<addaction name="actionOpen" /> |
|
<addaction name="actionDownload_from_URL" /> |
|
<addaction name="actionCreate_torrent" /> |
|
<addaction name="actionExit" /> |
|
</widget> |
|
<addaction name="menu_File" /> |
|
<addaction name="menu_Edit" /> |
|
<addaction name="menu_Options" /> |
|
<addaction name="menu_Help" /> |
|
</widget> |
|
<widget class="QToolBar" name="toolBar" > |
|
<property name="enabled" > |
|
<bool>true</bool> |
|
</property> |
|
<property name="contextMenuPolicy" > |
|
<enum>Qt::NoContextMenu</enum> |
|
</property> |
|
<property name="movable" > |
|
<bool>false</bool> |
|
</property> |
|
<property name="orientation" > |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="iconSize" > |
|
<size> |
|
<width>32</width> |
|
<height>32</height> |
|
</size> |
|
</property> |
|
<attribute name="toolBarArea" > |
|
<enum>TopToolBarArea</enum> |
|
</attribute> |
|
<attribute name="toolBarBreak" > |
|
<bool>false</bool> |
|
</attribute> |
|
<addaction name="actionOpen" /> |
|
<addaction name="actionDownload_from_URL" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionDelete" /> |
|
<addaction name="actionDelete_Permanently" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionTorrent_Properties" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionStart" /> |
|
<addaction name="actionPause" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionStart_All" /> |
|
<addaction name="actionPause_All" /> |
|
<addaction name="separator" /> |
|
<addaction name="actionOptions" /> |
|
<addaction name="actionExit" /> |
|
<addaction name="separator" /> |
|
</widget> |
|
<action name="actionOpen" > |
|
<property name="text" > |
|
<string>Open</string> |
|
</property> |
|
</action> |
|
<action name="actionExit" > |
|
<property name="text" > |
|
<string>Exit</string> |
|
</property> |
|
</action> |
|
<action name="actionOptions" > |
|
<property name="text" > |
|
<string>Preferences</string> |
|
</property> |
|
</action> |
|
<action name="actionAbout" > |
|
<property name="text" > |
|
<string>About</string> |
|
</property> |
|
</action> |
|
<action name="actionStart" > |
|
<property name="text" > |
|
<string>Start</string> |
|
</property> |
|
</action> |
|
<action name="actionPause" > |
|
<property name="text" > |
|
<string>Pause</string> |
|
</property> |
|
</action> |
|
<action name="actionDelete" > |
|
<property name="text" > |
|
<string>Delete</string> |
|
</property> |
|
</action> |
|
<action name="actionPause_All" > |
|
<property name="text" > |
|
<string>Pause All</string> |
|
</property> |
|
</action> |
|
<action name="actionStart_All" > |
|
<property name="text" > |
|
<string>Start All</string> |
|
</property> |
|
</action> |
|
<action name="actionWebsite" > |
|
<property name="text" > |
|
<string>Visit website</string> |
|
</property> |
|
</action> |
|
<action name="actionDelete_Permanently" > |
|
<property name="text" > |
|
<string>Delete Permanently</string> |
|
</property> |
|
</action> |
|
<action name="actionTorrent_Properties" > |
|
<property name="text" > |
|
<string>Torrent Properties</string> |
|
</property> |
|
</action> |
|
<action name="actionDownload_from_URL" > |
|
<property name="text" > |
|
<string>Download from URL</string> |
|
</property> |
|
</action> |
|
<action name="actionCreate_torrent" > |
|
<property name="text" > |
|
<string>Create torrent</string> |
|
</property> |
|
</action> |
|
<action name="actionPreview_file" > |
|
<property name="text" > |
|
<string>Preview file</string> |
|
</property> |
|
</action> |
|
<action name="actionClearLog" > |
|
<property name="text" > |
|
<string>Clear log</string> |
|
</property> |
|
</action> |
|
<action name="actionBugReport" > |
|
<property name="text" > |
|
<string>Report a bug</string> |
|
</property> |
|
</action> |
|
<action name="actionSet_upload_limit" > |
|
<property name="text" > |
|
<string>Set upload limit</string> |
|
</property> |
|
</action> |
|
<action name="actionSet_download_limit" > |
|
<property name="text" > |
|
<string>Set download limit</string> |
|
</property> |
|
</action> |
|
<action name="actionDocumentation" > |
|
<property name="text" > |
|
<string>Documentation</string> |
|
</property> |
|
</action> |
|
<action name="actionSet_global_download_limit" > |
|
<property name="text" > |
|
<string>Set global download limit</string> |
|
</property> |
|
</action> |
|
<action name="actionSet_global_upload_limit" > |
|
<property name="text" > |
|
<string>Set global upload limit</string> |
|
</property> |
|
</action> |
|
</widget> |
|
<resources/> |
|
<connections/> |
|
</ui>
|
|
|