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.
138 lines
3.3 KiB
138 lines
3.3 KiB
14 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>UpDownRatioDlg</class>
|
||
|
<widget class="QDialog" name="UpDownRatioDlg">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>317</width>
|
||
|
<height>152</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Torrent Upload/Download Ratio Limiting</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="useDefaultButton">
|
||
|
<property name="text">
|
||
|
<string>Use global ratio limit</string>
|
||
|
</property>
|
||
|
<attribute name="buttonGroup">
|
||
|
<string>buttonGroup</string>
|
||
|
</attribute>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="noLimitButton">
|
||
|
<property name="text">
|
||
|
<string>Set no ratio limit</string>
|
||
|
</property>
|
||
|
<attribute name="buttonGroup">
|
||
|
<string>buttonGroup</string>
|
||
|
</attribute>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="torrentLimitButton">
|
||
|
<property name="text">
|
||
|
<string>Set ratio limit to</string>
|
||
|
</property>
|
||
|
<attribute name="buttonGroup">
|
||
|
<string>buttonGroup</string>
|
||
|
</attribute>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QDoubleSpinBox" name="ratioSpinBox">
|
||
|
<property name="decimals">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<property name="singleStep">
|
||
|
<double>0.100000000000000</double>
|
||
|
</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>
|
||
|
<spacer name="verticalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>40</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="standardButtons">
|
||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>buttonBox</sender>
|
||
|
<signal>accepted()</signal>
|
||
|
<receiver>UpDownRatioDlg</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>UpDownRatioDlg</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>
|
||
|
<buttongroups>
|
||
|
<buttongroup name="buttonGroup"/>
|
||
|
</buttongroups>
|
||
|
</ui>
|