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.
ktorrent/apps/ktorrent/downloadpref.ui

717 lines
35 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>DownloadPref</class>
<widget class="TQWidget">
<property name="name">
<cstring>DownloadPref</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>575</width>
<height>706</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Queue Manager</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout49</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout42</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Maximum downloads:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
<property name="text">
<string>Maximum seeds:</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8</cstring>
</property>
<property name="text">
<string>Start download on low disk space :</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_9</cstring>
</property>
<property name="text">
<string>Minimum disk space:</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout46</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KIntNumInput">
<property name="name">
<cstring>max_downloads</cstring>
</property>
<property name="value">
<number>2</number>
</property>
<property name="minValue">
<number>0</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>max_seeds</cstring>
</property>
<property name="value">
<number>2</number>
</property>
<property name="minValue">
<number>0</number>
</property>
</widget>
<widget class="TQComboBox">
<item>
<property name="text">
<string>Don't start</string>
</property>
</item>
<item>
<property name="text">
<string>Always ask</string>
</property>
</item>
<item>
<property name="text">
<string>Force start</string>
</property>
</item>
<property name="name">
<cstring>cmbDiskSpace</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout45</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQSpinBox">
<property name="name">
<cstring>intMinDiskSpace</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxValue">
<number>10000</number>
</property>
<property name="minValue">
<number>10</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>MB</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout48</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>(0 is no limit)</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_3</cstring>
</property>
<property name="text">
<string>(0 is no limit)</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer36</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>191</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer>
<property name="name">
<cstring>spacer17</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>207</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</hbox>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox3</cstring>
</property>
<property name="title">
<string>Preferences</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout42</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
<property name="text">
<string>Maximum download rate:</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>Port:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_7</cstring>
</property>
<property name="text">
<string>Global connection limit:</string>
</property>
</widget>
<widget class="TQLabel" row="8" column="0">
<property name="name">
<cstring>textLabel2_3</cstring>
</property>
<property name="text">
<string>Max seed time:</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout18</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Maximum connections per torrent:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer8_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLabel" row="6" column="0">
<property name="name">
<cstring>textLabel1_6</cstring>
</property>
<property name="text">
<string>Number of upload slots:</string>
</property>
</widget>
<widget class="TQLabel" row="5" column="0">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>UDP tracker port:</string>
</property>
</widget>
<widget class="TQLabel" row="7" column="0">
<property name="name">
<cstring>textLabel1_6_2</cstring>
</property>
<property name="text">
<string>Max share ratio:</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Maximum upload rate:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout41</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KIntNumInput">
<property name="name">
<cstring>max_conns</cstring>
</property>
<property name="value">
<number>100</number>
</property>
<property name="minValue">
<number>0</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>max_total_conns</cstring>
</property>
<property name="value">
<number>800</number>
</property>
<property name="minValue">
<number>0</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>max_upload_rate</cstring>
</property>
<property name="value">
<number>5</number>
</property>
<property name="minValue">
<number>0</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>max_download_rate</cstring>
</property>
<property name="minValue">
<number>0</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>port</cstring>
</property>
<property name="value">
<number>6881</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>65535</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>udp_tracker_port</cstring>
</property>
<property name="value">
<number>4444</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>65535</number>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>num_upload_slots</cstring>
</property>
<property name="value">
<number>2</number>
</property>
<property name="minValue">
<number>2</number>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="referencePoint">
<number>2</number>
</property>
</widget>
<widget class="KDoubleSpinBox">
<property name="name">
<cstring>num_max_ratio</cstring>
</property>
<property name="maxValue">
<number>1000</number>
</property>
<property name="precision">
<number>2</number>
</property>
</widget>
<widget class="KDoubleSpinBox">
<property name="name">
<cstring>max_seed_time</cstring>
</property>
<property name="maxValue">
<number>1e+07</number>
</property>
<property name="lineStep">
<number>0.05</number>
</property>
<property name="precision">
<number>2</number>
</property>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout40</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_2</cstring>
</property>
<property name="text">
<string>(0 is no limit)</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_2_2</cstring>
</property>
<property name="text">
<string>(0 is no limit)</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>KB/sec (0 is no limit)</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
<property name="text">
<string>KB/sec (0 is no limit)</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>208</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>208</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer>
<property name="name">
<cstring>spacer8</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>208</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_2_2_2</cstring>
</property>
<property name="text">
<string>(0 is no limit)</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
<string>Hours (0 is no limit)</string>
</property>
</widget>
</vbox>
</widget>
</hbox>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>keep_seeding</cstring>
</property>
<property name="text">
<string>&amp;Keep seeding after download is finished</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Attention</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KActiveLabel">
<property name="name">
<cstring>kActiveLabel1</cstring>
</property>
<property name="text">
<string>The above ports must also be forwarded if you are behind a router. The UPnP plugin can do this for you.</string>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<customwidgets>
</customwidgets>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kactivelabel.h</include>
<include location="global" impldecl="in implementation">knuminput.h</include>
</includes>
</UI>