From 98215d2231380860797566920d7795f32af04112 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 25 Apr 2016 14:14:48 +0800 Subject: [PATCH] Cleanup Connection page in Option dialog. Add vertical spacer, closes #845. --- src/gui/options.ui | 355 +++++++++++++++++++-------------------------- 1 file changed, 149 insertions(+), 206 deletions(-) diff --git a/src/gui/options.ui b/src/gui/options.ui index a173ad09d..06af50bcc 100644 --- a/src/gui/options.ui +++ b/src/gui/options.ui @@ -114,8 +114,8 @@ 0 0 - 514 - 968 + 497 + 880 @@ -670,8 +670,8 @@ 0 0 - 470 - 926 + 586 + 1127 @@ -1363,84 +1363,80 @@ 0 0 - 457 - 713 + 497 + 672 - - - - - Listening Port - - + + + Listening Port + + + + - - - - - Port used for incoming connections: - - - - - - - 1 - - - 65535 - - - 8999 - - - - - - - Random - - - - - - - Qt::Horizontal - - - - 20 - 20 - - - - - + + + Port used for incoming connections: + + - - - Use UPnP / NAT-PMP port forwarding from my router + + + 1 - - true + + 65535 + + + 8999 - + - Use different port on each startup + Random + + + + Qt::Horizontal + + + + 40 + 20 + + + + - - - + + + + + Use UPnP / NAT-PMP port forwarding from my router + + + true + + + + + + + Use different port on each startup + + + + + @@ -1448,6 +1444,26 @@ Connections Limits + + + + 500 + + + 4 + + + + + + + Maximum number of connections per torrent: + + + true + + + @@ -1474,17 +1490,7 @@ - - - - Maximum number of connections per torrent: - - - true - - - - + 2 @@ -1497,7 +1503,7 @@ - + Maximum number of upload slots per torrent: @@ -1507,56 +1513,7 @@ - - - - 500 - - - 4 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + Global maximum number of upload slots: @@ -1566,7 +1523,7 @@ - + 2000 @@ -1576,8 +1533,8 @@ - - + + Qt::Horizontal @@ -1602,7 +1559,7 @@ - + @@ -1652,12 +1609,6 @@ - - 75 - - - QLineEdit::Normal - @@ -1749,17 +1700,7 @@ - - - - - - 1000 - - - QLineEdit::Normal - - + @@ -1770,12 +1711,6 @@ - - - - - 1000 - QLineEdit::Password @@ -1807,53 +1742,48 @@ false - - - - - Filter path (.dat, .p2p, .p2b): - - - - - - - - - - - 28 - 27 - - - - ... - - - - - - - - 28 - 27 - - - - Reload the filter - - - - - - - 16 - 16 - - - + + + + + + + Filter path (.dat, .p2p, .p2b): + + + + + + + + + + + 0 + 25 + + + + ... + + + + + + + + 16777215 + 25 + + + + Reload the filter + + + + - + Apply to trackers @@ -1863,6 +1793,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -1893,8 +1836,8 @@ 0 0 - 362 - 484 + 510 + 538 @@ -2280,8 +2223,8 @@ 0 0 - 587 - 578 + 574 + 534 @@ -2677,8 +2620,8 @@ 0 0 - 460 - 562 + 438 + 543