Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
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.
431 lines
14 KiB
431 lines
14 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<ui version="4.0"> |
|
<class>TorrentCreatorDialog</class> |
|
<widget class="QDialog" name="TorrentCreatorDialog"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>592</width> |
|
<height>731</height> |
|
</rect> |
|
</property> |
|
<property name="acceptDrops"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="windowTitle"> |
|
<string>Torrent Creator</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout"> |
|
<item> |
|
<widget class="QScrollArea" name="scrollArea"> |
|
<property name="frameShape"> |
|
<enum>QFrame::NoFrame</enum> |
|
</property> |
|
<property name="widgetResizable"> |
|
<bool>true</bool> |
|
</property> |
|
<widget class="QWidget" name="scrollAreaWidgetContents"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>560</width> |
|
<height>668</height> |
|
</rect> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_5"> |
|
<property name="spacing"> |
|
<number>0</number> |
|
</property> |
|
<property name="leftMargin"> |
|
<number>0</number> |
|
</property> |
|
<property name="topMargin"> |
|
<number>0</number> |
|
</property> |
|
<property name="rightMargin"> |
|
<number>0</number> |
|
</property> |
|
<property name="bottomMargin"> |
|
<number>0</number> |
|
</property> |
|
<item> |
|
<widget class="QGroupBox" name="groupBox"> |
|
<property name="title"> |
|
<string>Select file/folder to share</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_3"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
<item> |
|
<widget class="QLabel" name="label"> |
|
<property name="text"> |
|
<string>Path:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="FileSystemPathLineEdit" name="textInputPath"> |
|
<property name="acceptDrops"> |
|
<bool>false</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
<item> |
|
<widget class="QLabel" name="label_2"> |
|
<property name="enabled"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="text"> |
|
<string>[Drag and drop area]</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="addFileButton"> |
|
<property name="text"> |
|
<string>Select file</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="addFolderButton"> |
|
<property name="text"> |
|
<string>Select folder</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QGroupBox" name="groupBox_2"> |
|
<property name="title"> |
|
<string>Settings</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_2"> |
|
<item> |
|
<widget class="QWidget" name="widgetTorrentFormat" native="true"> |
|
<layout class="QHBoxLayout" name="layoutTorrentFormat"> |
|
<property name="leftMargin"> |
|
<number>0</number> |
|
</property> |
|
<property name="topMargin"> |
|
<number>0</number> |
|
</property> |
|
<property name="rightMargin"> |
|
<number>0</number> |
|
</property> |
|
<property name="bottomMargin"> |
|
<number>0</number> |
|
</property> |
|
<item> |
|
<widget class="QLabel" name="labelTorrentFormat"> |
|
<property name="text"> |
|
<string>Torrent format:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QComboBox" name="comboTorrentFormat"> |
|
<item> |
|
<property name="text"> |
|
<string notr="true">V2</string> |
|
</property> |
|
</item> |
|
<item> |
|
<property name="text"> |
|
<string>Hybrid</string> |
|
</property> |
|
</item> |
|
<item> |
|
<property name="text"> |
|
<string notr="true">V1</string> |
|
</property> |
|
</item> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer_2"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="pieceSizeLayout"> |
|
<item> |
|
<widget class="QLabel" name="txtPieceSize"> |
|
<property name="text"> |
|
<string>Piece size:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QComboBox" name="comboPieceSize"> |
|
<property name="currentIndex"> |
|
<number>0</number> |
|
</property> |
|
<property name="minimumContentsLength"> |
|
<number>7</number> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="buttonCalcTotalPieces"> |
|
<property name="text"> |
|
<string>Calculate number of pieces:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="labelTotalPieces"> |
|
<property name="text"> |
|
<string notr="true">0</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="spacer1"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="checkPrivate"> |
|
<property name="text"> |
|
<string>Private torrent (Won't distribute on DHT network)</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="checkStartSeeding"> |
|
<property name="text"> |
|
<string>Start seeding immediately</string> |
|
</property> |
|
<property name="checked"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="checkIgnoreShareLimits"> |
|
<property name="text"> |
|
<string>Ignore share ratio limits for this torrent</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QGroupBox" name="checkOptimizeAlignment"> |
|
<property name="title"> |
|
<string>Optimize alignment</string> |
|
</property> |
|
<property name="checkable"> |
|
<bool>true</bool> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_4"> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
<item> |
|
<widget class="QLabel" name="lblPaddedFileSizeLimit"> |
|
<property name="text"> |
|
<string>Align to piece boundary for files larger than:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QSpinBox" name="spinPaddedFileSizeLimit"> |
|
<property name="specialValueText"> |
|
<string>Disabled</string> |
|
</property> |
|
<property name="suffix"> |
|
<string> KiB</string> |
|
</property> |
|
<property name="minimum"> |
|
<number>-1</number> |
|
</property> |
|
<property name="maximum"> |
|
<number>2147483647</number> |
|
</property> |
|
<property name="value"> |
|
<number>-1</number> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="horizontalSpacer"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>40</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QGroupBox" name="groupBox_3"> |
|
<property name="title"> |
|
<string>Fields</string> |
|
</property> |
|
<layout class="QGridLayout" name="gridLayout_2"> |
|
<item row="0" column="1"> |
|
<widget class="QTextEdit" name="trackersList"> |
|
<property name="toolTip"> |
|
<string>You can separate tracker tiers / groups with an empty line.</string> |
|
</property> |
|
<property name="acceptRichText"> |
|
<bool>false</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="1" column="0"> |
|
<widget class="QLabel" name="urlSeeds_lbl"> |
|
<property name="text"> |
|
<string>Web seed URLs:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="1" column="1"> |
|
<widget class="QTextEdit" name="URLSeedsList"> |
|
<property name="acceptRichText"> |
|
<bool>false</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="2" column="1"> |
|
<widget class="QTextEdit" name="txtComment"> |
|
<property name="acceptRichText"> |
|
<bool>false</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="0" column="0"> |
|
<widget class="QLabel" name="lbl_announce_url"> |
|
<property name="text"> |
|
<string>Tracker URLs:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="2" column="0"> |
|
<widget class="QLabel" name="lbl_comment"> |
|
<property name="text"> |
|
<string>Comments:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="3" column="0"> |
|
<widget class="QLabel" name="labelSource"> |
|
<property name="text"> |
|
<string>Source:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item row="3" column="1"> |
|
<widget class="QLineEdit" name="lineEditSource"/> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</widget> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
<item> |
|
<widget class="QLabel" name="progressLbl"> |
|
<property name="text"> |
|
<string>Progress:</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QProgressBar" name="progressBar"> |
|
<property name="value"> |
|
<number>0</number> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<widget class="QDialogButtonBox" name="buttonBox"> |
|
<property name="standardButtons"> |
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
</property> |
|
<property name="centerButtons"> |
|
<bool>true</bool> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<customwidgets> |
|
<customwidget> |
|
<class>FileSystemPathLineEdit</class> |
|
<extends>QWidget</extends> |
|
<header>gui/fspathedit.h</header> |
|
<container>1</container> |
|
</customwidget> |
|
</customwidgets> |
|
<tabstops> |
|
<tabstop>textInputPath</tabstop> |
|
<tabstop>addFileButton</tabstop> |
|
<tabstop>addFolderButton</tabstop> |
|
<tabstop>comboPieceSize</tabstop> |
|
<tabstop>checkPrivate</tabstop> |
|
<tabstop>checkStartSeeding</tabstop> |
|
<tabstop>checkIgnoreShareLimits</tabstop> |
|
<tabstop>checkOptimizeAlignment</tabstop> |
|
<tabstop>trackersList</tabstop> |
|
<tabstop>URLSeedsList</tabstop> |
|
<tabstop>txtComment</tabstop> |
|
</tabstops> |
|
<resources/> |
|
<connections/> |
|
</ui>
|
|
|