mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-04 22:27:28 +03:00
8db4bde15d
Speed limits, share limits and the new options to disable DHT, PeX, LSD per torrent
278 lines
7.6 KiB
XML
278 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TorrentOptionsDialog</class>
|
|
<widget class="QDialog" name="TorrentOptionsDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>390</width>
|
|
<height>450</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Torrent Options</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Torrent speed limits</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Download:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="spinDownloadLimit">
|
|
<property name="specialValueText">
|
|
<string>∞</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> KiB/s</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>2000000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QSpinBox" name="spinUploadLimit">
|
|
<property name="specialValueText">
|
|
<string>∞</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> KiB/s</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>2000000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2">
|
|
<widget class="QLabel" name="labelWarning">
|
|
<property name="text">
|
|
<string>These will not exceed the global limits</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Upload:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSlider" name="sliderUploadLimit">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSlider" name="sliderDownloadLimit">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Torrent share limits</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioUseGlobalShareLimits">
|
|
<property name="text">
|
|
<string>Use global share limit</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">buttonGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioNoLimit">
|
|
<property name="text">
|
|
<string>Set no share limit</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">buttonGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radioTorrentLimit">
|
|
<property name="text">
|
|
<string>Set share limit to</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">buttonGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="checkMaxTime">
|
|
<property name="text">
|
|
<string>minutes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QDoubleSpinBox" name="spinRatioLimit">
|
|
<property name="maximum">
|
|
<double>9999.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.050000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="spinTimeLimit">
|
|
<property name="maximum">
|
|
<number>525600</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1440</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<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>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="checkMaxRatio">
|
|
<property name="text">
|
|
<string>ratio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkDisableDHT">
|
|
<property name="text">
|
|
<string>Disable DHT for this torrent</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<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 row="1" column="0">
|
|
<widget class="QCheckBox" name="checkDisablePEX">
|
|
<property name="text">
|
|
<string>Disable PeX for this torrent</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="checkDisableLSD">
|
|
<property name="text">
|
|
<string>Disable LSD for this torrent</string>
|
|
</property>
|
|
</widget>
|
|
</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>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>TorrentOptionsDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>221</x>
|
|
<y>73</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>221</x>
|
|
<y>82</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>TorrentOptionsDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>277</x>
|
|
<y>59</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>343</x>
|
|
<y>80</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<buttongroups>
|
|
<buttongroup name="buttonGroup"/>
|
|
</buttongroups>
|
|
</ui>
|