2014-12-31 22:27:46 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MakeDialog</class>
|
|
|
|
<widget class="QDialog" name="MakeDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>566</width>
|
2015-01-21 21:14:00 +00:00
|
|
|
<height>426</height>
|
2014-12-31 22:27:46 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="acceptDrops">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>New Torrent</string>
|
|
|
|
</property>
|
2015-01-21 21:14:00 +00:00
|
|
|
<layout class="QVBoxLayout" name="dialogLayout">
|
|
|
|
<item>
|
2014-12-31 22:27:46 +00:00
|
|
|
<widget class="QLabel" name="filesSectionLabel">
|
2015-01-21 21:14:00 +00:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">font-weight:bold</string>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-01-21 21:14:00 +00:00
|
|
|
<string>Files</string>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-01-21 21:14:00 +00:00
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="filesSectionLayout" columnstretch="0,1">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>18</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="destinationLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Sa&ve to:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>destinationButton</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
2015-06-10 21:27:11 +00:00
|
|
|
<widget class="PathButton" name="destinationButton"/>
|
2015-01-21 21:14:00 +00:00
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QRadioButton" name="sourceFolderRadio">
|
|
|
|
<property name="text">
|
|
|
|
<string>Source f&older:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
2015-06-10 21:27:11 +00:00
|
|
|
<widget class="PathButton" name="sourceFolderButton">
|
2015-01-21 21:14:00 +00:00
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QRadioButton" name="sourceFileRadio">
|
|
|
|
<property name="text">
|
|
|
|
<string>Source &file:</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
2015-06-10 21:27:11 +00:00
|
|
|
<widget class="PathButton" name="sourceFileButton"/>
|
2015-01-21 21:14:00 +00:00
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QLabel" name="sourceSizeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-09-06 15:17:47 +00:00
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QSlider" name="pieceSizeSlider">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>10</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>26</number>
|
|
|
|
</property>
|
|
|
|
<property name="pageStep">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="pieceSizeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Piece s&ize:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>pieceSizeSlider</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-01-21 21:14:00 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="propertiesSectionSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
2015-01-21 21:14:00 +00:00
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
2015-01-21 21:14:00 +00:00
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>1</width>
|
|
|
|
<height>10</height>
|
|
|
|
</size>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
2015-01-21 21:14:00 +00:00
|
|
|
</spacer>
|
2014-12-31 22:27:46 +00:00
|
|
|
</item>
|
2015-01-21 21:14:00 +00:00
|
|
|
<item>
|
2014-12-31 22:27:46 +00:00
|
|
|
<widget class="QLabel" name="propertiesSectionLabel">
|
2015-01-21 21:14:00 +00:00
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">font-weight:bold</string>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-01-21 21:14:00 +00:00
|
|
|
<string>Properties</string>
|
2014-12-31 22:27:46 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-01-21 21:14:00 +00:00
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="propertiesSectionLayout" columnstretch="0,1">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>18</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="trackersLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Trackers:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>trackersEdit</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QPlainTextEdit" name="trackersEdit">
|
|
|
|
<property name="tabChangesFocus">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="lineWrapMode">
|
|
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLabel" name="trackersDescriptionLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>To add a backup URL, add it on the line after the primary URL.
|
2014-12-31 22:27:46 +00:00
|
|
|
To add another primary URL, add it after a blank line.</string>
|
2015-01-21 21:14:00 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QCheckBox" name="commentCheck">
|
|
|
|
<property name="text">
|
|
|
|
<string>Co&mment:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLineEdit" name="commentEdit">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2021-10-18 23:05:39 +00:00
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QCheckBox" name="sourceCheck">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Source:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QLineEdit" name="sourceEdit">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0" colspan="2">
|
2015-01-21 21:14:00 +00:00
|
|
|
<widget class="QCheckBox" name="privateCheck">
|
|
|
|
<property name="text">
|
|
|
|
<string>&Private torrent</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-12-31 22:27:46 +00:00
|
|
|
<widget class="QDialogButtonBox" name="dialogButtons">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
2015-06-10 21:27:11 +00:00
|
|
|
<class>PathButton</class>
|
2014-12-31 22:27:46 +00:00
|
|
|
<extends>QToolButton</extends>
|
2015-06-10 21:27:11 +00:00
|
|
|
<header>PathButton.h</header>
|
2014-12-31 22:27:46 +00:00
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>commentCheck</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>commentEdit</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>76</x>
|
|
|
|
<y>333</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>360</x>
|
|
|
|
<y>333</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sourceFolderRadio</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>sourceFolderButton</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>72</x>
|
|
|
|
<y>83</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>360</x>
|
|
|
|
<y>82</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>sourceFileRadio</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>sourceFileButton</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>72</x>
|
|
|
|
<y>119</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>360</x>
|
|
|
|
<y>118</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2021-10-18 23:05:39 +00:00
|
|
|
<connection>
|
|
|
|
<sender>sourceCheck</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>sourceEdit</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>75</x>
|
|
|
|
<y>347</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>342</x>
|
|
|
|
<y>347</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2014-12-31 22:27:46 +00:00
|
|
|
</connections>
|
|
|
|
</ui>
|