From 5c4dfbec393170cccbee792525f9713160384349 Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Sun, 16 Aug 2020 14:28:33 +0200 Subject: [PATCH] Add a scroll area to torrent creator dialog As to prevent the dialog from going out-of-screen on a small monitor. --- src/gui/torrentcreatordialog.ui | 645 +++++++++++++++++--------------- 1 file changed, 341 insertions(+), 304 deletions(-) diff --git a/src/gui/torrentcreatordialog.ui b/src/gui/torrentcreatordialog.ui index 6c23c9b20..3daca4c7f 100644 --- a/src/gui/torrentcreatordialog.ui +++ b/src/gui/torrentcreatordialog.ui @@ -18,332 +18,369 @@ - - - Select file/folder to share + + + QFrame::NoFrame - - - - - - - Path: - - - - - - - false - - - - - - - - - - - false - - - - 0 - 0 - - - - [Drag and drop area] - - - Qt::AlignCenter - - - - - - - Select file - - - - - - - Select folder - - - - - - - - - - - - Settings + + true - - - - - - - Piece size: - - - - - - - 0 - - - 7 - + + + + 0 + 0 + 574 + 649 + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Select file/folder to share + + - - Auto - + + + + + Path: + + + + + + + false + + + + - - 16 KiB - + + + + + false + + + + 0 + 0 + + + + [Drag and drop area] + + + Qt::AlignCenter + + + + + + + Select file + + + + + + + Select folder + + + + + + + + + + + Settings + + - - 32 KiB - + + + + + Piece size: + + + + + + + 0 + + + 7 + + + + Auto + + + + + 16 KiB + + + + + 32 KiB + + + + + 64 KiB + + + + + 128 KiB + + + + + 256 KiB + + + + + 512 KiB + + + + + 1 MiB + + + + + 2 MiB + + + + + 4 MiB + + + + + 8 MiB + + + + + 16 MiB + + + + + 32 MiB + + + + + + + + Calculate number of pieces: + + + + + + + 0 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + - - 64 KiB - + + + Private torrent (Won't distribute on DHT network) + + - - 128 KiB - + + + Start seeding immediately + + + true + + - - 256 KiB - + + + Ignore share ratio limits for this torrent + + - - 512 KiB - + + + Optimize alignment + + + true + + + + + + + + Align to piece boundary for files larger than: + + + + + + + Disabled + + + KiB + + + -1 + + + 2147483647 + + + -1 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + - - - 1 MiB - + + + + + + + Fields + + + + + + You can separate tracker tiers / groups with an empty line. + + + false + + - - - 2 MiB - + + + + Web seed URLs: + + - - - 4 MiB - + + + + false + + - - - 8 MiB - + + + + false + + - - - 16 MiB - + + + + Tracker URLs: + + - - - 32 MiB - + + + + Comments: + + - - - - - - Calculate number of pieces: - - - - - - - 0 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Private torrent (Won't distribute on DHT network) - - - - - - - Start seeding immediately - - - true - - - - - - - Ignore share ratio limits for this torrent - - - - - - - Optimize alignment - - - true - - - - - - - - Align to piece boundary for files larger than: - - - - - - - Disabled - - - KiB - - - -1 - - - 2147483647 - - - -1 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - - - - - Fields - - - - - - You can separate tracker tiers / groups with an empty line. - - - false - - - - - - - Web seed URLs: - - - - - - - false - - - - - - - false - - - - - - - Tracker URLs: - - - - - - - Comments: - - - - - - - Source: - - - - - - - + + + + Source: + + + + + + + + + + +