mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-23 20:10:48 +08:00
267 lines
6.8 KiB
XML
267 lines
6.8 KiB
XML
<ui version="4.0" >
|
|
<author></author>
|
|
<comment></comment>
|
|
<exportmacro></exportmacro>
|
|
<class>AddTorrentFile</class>
|
|
<widget class="QDialog" name="AddTorrentFile" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>464</width>
|
|
<height>385</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Add a torrent</string>
|
|
</property>
|
|
<property name="sizeGripEnabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="modal" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<property name="margin" >
|
|
<number>8</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox" >
|
|
<property name="title" >
|
|
<string>Select a torrent source</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>8</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="6" column="0" >
|
|
<widget class="QLabel" name="label_4" >
|
|
<property name="text" >
|
|
<string>Destination:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="torrentFile" />
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="label_2" >
|
|
<property name="text" >
|
|
<string>Tracker URL:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3" >
|
|
<widget class="QPushButton" name="browseTorrents" >
|
|
<property name="text" >
|
|
<string>Browse</string>
|
|
</property>
|
|
<property name="default" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" >
|
|
<widget class="QLabel" name="label_5" >
|
|
<property name="text" >
|
|
<string>File(s):</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<widget class="QLabel" name="label_3" >
|
|
<property name="text" >
|
|
<string>Size:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="label_6" >
|
|
<property name="text" >
|
|
<string>Creator:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1" colspan="3" >
|
|
<widget class="QTextEdit" name="torrentContents" >
|
|
<property name="focusPolicy" >
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="tabChangesFocus" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="lineWrapMode" >
|
|
<enum>QTextEdit::NoWrap</enum>
|
|
</property>
|
|
<property name="readOnly" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="destinationFolder" >
|
|
<property name="focusPolicy" >
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="3" >
|
|
<widget class="QLabel" name="announceUrl" >
|
|
<property name="text" >
|
|
<string><none></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="label" >
|
|
<property name="text" >
|
|
<string>Torrent file:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="3" >
|
|
<widget class="QPushButton" name="browseDestination" >
|
|
<property name="text" >
|
|
<string>Browse</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<widget class="QLabel" name="label_7" >
|
|
<property name="text" >
|
|
<string>Comment:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" colspan="3" >
|
|
<widget class="QLabel" name="commentLabel" >
|
|
<property name="text" >
|
|
<string><none></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="3" >
|
|
<widget class="QLabel" name="creatorLabel" >
|
|
<property name="text" >
|
|
<string><none></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" colspan="3" >
|
|
<widget class="QLabel" name="sizeLabel" >
|
|
<property name="text" >
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<widget class="QWidget" name="widget" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>10</x>
|
|
<y>40</y>
|
|
<width>364</width>
|
|
<height>33</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<property name="margin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>131</width>
|
|
<height>31</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="okButton" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&OK</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton" >
|
|
<property name="text" >
|
|
<string>&Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<pixmapfunction></pixmapfunction>
|
|
<tabstops>
|
|
<tabstop>torrentFile</tabstop>
|
|
<tabstop>browseTorrents</tabstop>
|
|
<tabstop>torrentContents</tabstop>
|
|
<tabstop>destinationFolder</tabstop>
|
|
<tabstop>browseDestination</tabstop>
|
|
<tabstop>okButton</tabstop>
|
|
<tabstop>cancelButton</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>okButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>AddTorrentFile</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>278</x>
|
|
<y>253</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>96</x>
|
|
<y>254</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cancelButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>AddTorrentFile</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>369</x>
|
|
<y>253</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>179</x>
|
|
<y>282</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|