Browse Source

Cleanup Connection page in Option dialog.

Add vertical spacer, closes #845.
adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
98215d2231
  1. 201
      src/gui/options.ui

201
src/gui/options.ui

@ -114,8 +114,8 @@ @@ -114,8 +114,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>514</width>
<height>968</height>
<width>497</width>
<height>880</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
@ -670,8 +670,8 @@ @@ -670,8 +670,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>470</width>
<height>926</height>
<width>586</width>
<height>1127</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
@ -1363,21 +1363,19 @@ @@ -1363,21 +1363,19 @@
<rect>
<x>0</x>
<y>0</y>
<width>457</width>
<height>713</height>
<width>497</width>
<height>672</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_20">
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QGroupBox" name="ListeningPortBox">
<property name="title">
<string>Listening Port</string>
</property>
<layout class="QVBoxLayout">
<layout class="QVBoxLayout" name="listeningPortLayout">
<item>
<layout class="QHBoxLayout">
<layout class="QHBoxLayout" name="listeningPortLayout2">
<item>
<widget class="QLabel" name="lbl_ports">
<property name="text">
@ -1406,13 +1404,13 @@ @@ -1406,13 +1404,13 @@
</widget>
</item>
<item>
<spacer>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<width>40</width>
<height>20</height>
</size>
</property>
@ -1440,14 +1438,32 @@ @@ -1440,14 +1438,32 @@
</layout>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="nbConnecBox">
<property name="title">
<string>Connections Limits</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="1">
<widget class="QSpinBox" name="spinMaxUploadsPerTorrent">
<property name="maximum">
<number>500</number>
</property>
<property name="value">
<number>4</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="checkMaxConnecsPerTorrent">
<property name="text">
<string>Maximum number of connections per torrent:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="checkMaxConnecs">
<property name="text">
@ -1474,17 +1490,7 @@ @@ -1474,17 +1490,7 @@
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="checkMaxConnecsPerTorrent">
<property name="text">
<string>Maximum number of connections per torrent:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<item row="1" column="1">
<widget class="QSpinBox" name="spinMaxConnecPerTorrent">
<property name="minimum">
<number>2</number>
@ -1497,7 +1503,7 @@ @@ -1497,7 +1503,7 @@
</property>
</widget>
</item>
<item row="4" column="0">
<item row="3" column="0">
<widget class="QCheckBox" name="checkMaxUploadsPerTorrent">
<property name="text">
<string>Maximum number of upload slots per torrent:</string>
@ -1507,56 +1513,7 @@ @@ -1507,56 +1513,7 @@
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="spinMaxUploadsPerTorrent">
<property name="maximum">
<number>500</number>
</property>
<property name="value">
<number>4</number>
</property>
</widget>
</item>
<item row="0" column="2">
<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>
<item row="2" column="2">
<spacer name="horizontalSpacer_4">
<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="4" column="2">
<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>
<item row="3" column="0">
<item row="2" column="0">
<widget class="QCheckBox" name="checkMaxUploads">
<property name="text">
<string>Global maximum number of upload slots:</string>
@ -1566,7 +1523,7 @@ @@ -1566,7 +1523,7 @@
</property>
</widget>
</item>
<item row="3" column="1">
<item row="2" column="1">
<widget class="QSpinBox" name="spinMaxUploads">
<property name="maximum">
<number>2000</number>
@ -1576,8 +1533,8 @@ @@ -1576,8 +1533,8 @@
</property>
</widget>
</item>
<item row="3" column="2">
<spacer name="horizontalSpacer_15">
<item row="0" column="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -1602,7 +1559,7 @@ @@ -1602,7 +1559,7 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_29">
<item>
<layout class="QHBoxLayout" name="_2">
<layout class="QHBoxLayout" name="proxyTypeLayout">
<item>
<widget class="QLabel" name="ProxyType_lbl">
<property name="text">
@ -1652,12 +1609,6 @@ @@ -1652,12 +1609,6 @@
<property name="text">
<string/>
</property>
<property name="maxLength">
<number>75</number>
</property>
<property name="echoMode">
<enum>QLineEdit::Normal</enum>
</property>
</widget>
</item>
<item>
@ -1749,17 +1700,7 @@ @@ -1749,17 +1700,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="textProxyUsername">
<property name="text">
<string/>
</property>
<property name="maxLength">
<number>1000</number>
</property>
<property name="echoMode">
<enum>QLineEdit::Normal</enum>
</property>
</widget>
<widget class="QLineEdit" name="textProxyUsername"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblProxyPassword">
@ -1770,12 +1711,6 @@ @@ -1770,12 +1711,6 @@
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="textProxyPassword">
<property name="text">
<string/>
</property>
<property name="maxLength">
<number>1000</number>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
@ -1807,23 +1742,25 @@ @@ -1807,23 +1742,25 @@
<property name="checked">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_14">
<item row="1" column="0">
<layout class="QVBoxLayout" name="verticalLayout_17">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QLabel" name="lblFilterPath">
<property name="text">
<string>Filter path (.dat, .p2p, .p2b):</string>
</property>
</widget>
</item>
<item row="1" column="1">
<item>
<widget class="QLineEdit" name="textFilterPath"/>
</item>
<item row="1" column="2">
<item>
<widget class="QToolButton" name="browseFilterButton">
<property name="minimumSize">
<size>
<width>28</width>
<height>27</height>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="text">
@ -1831,29 +1768,22 @@ @@ -1831,29 +1768,22 @@
</property>
</widget>
</item>
<item row="1" column="3">
<item>
<widget class="QToolButton" name="IpFilterRefreshBtn">
<property name="minimumSize">
<property name="maximumSize">
<size>
<width>28</width>
<height>27</height>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Reload the filter</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
</item>
<item row="2" column="0">
</layout>
</item>
<item>
<widget class="QCheckBox" name="checkIpFilterTrackers">
<property name="text">
<string>Apply to trackers</string>
@ -1863,6 +1793,19 @@ @@ -1863,6 +1793,19 @@
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
@ -1893,8 +1836,8 @@ @@ -1893,8 +1836,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>362</width>
<height>484</height>
<width>510</width>
<height>538</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
@ -2280,8 +2223,8 @@ @@ -2280,8 +2223,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>587</width>
<height>578</height>
<width>574</width>
<height>534</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
@ -2677,8 +2620,8 @@ @@ -2677,8 +2620,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>460</width>
<height>562</height>
<width>438</width>
<height>543</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_23">

Loading…
Cancel
Save