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

Loading…
Cancel
Save