~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to tests/auto/tools/uic/baseline/addtorrentform.ui

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <author></author>
 
3
 <comment></comment>
 
4
 <exportmacro></exportmacro>
 
5
 <class>AddTorrentFile</class>
 
6
 <widget class="QDialog" name="AddTorrentFile" >
 
7
  <property name="geometry" >
 
8
   <rect>
 
9
    <x>0</x>
 
10
    <y>0</y>
 
11
    <width>464</width>
 
12
    <height>385</height>
 
13
   </rect>
 
14
  </property>
 
15
  <property name="windowTitle" >
 
16
   <string>Add a torrent</string>
 
17
  </property>
 
18
  <property name="sizeGripEnabled" >
 
19
   <bool>false</bool>
 
20
  </property>
 
21
  <property name="modal" >
 
22
   <bool>true</bool>
 
23
  </property>
 
24
  <layout class="QVBoxLayout" >
 
25
   <property name="margin" >
 
26
    <number>8</number>
 
27
   </property>
 
28
   <property name="spacing" >
 
29
    <number>6</number>
 
30
   </property>
 
31
   <item>
 
32
    <widget class="QGroupBox" name="groupBox" >
 
33
     <property name="title" >
 
34
      <string>Select a torrent source</string>
 
35
     </property>
 
36
     <layout class="QGridLayout" >
 
37
      <property name="margin" >
 
38
       <number>8</number>
 
39
      </property>
 
40
      <property name="spacing" >
 
41
       <number>6</number>
 
42
      </property>
 
43
      <item row="6" column="0" >
 
44
       <widget class="QLabel" name="label_4" >
 
45
        <property name="text" >
 
46
         <string>Destination:</string>
 
47
        </property>
 
48
       </widget>
 
49
      </item>
 
50
      <item row="0" column="1" colspan="2" >
 
51
       <widget class="QLineEdit" name="torrentFile" />
 
52
      </item>
 
53
      <item row="1" column="0" >
 
54
       <widget class="QLabel" name="label_2" >
 
55
        <property name="text" >
 
56
         <string>Tracker URL:</string>
 
57
        </property>
 
58
       </widget>
 
59
      </item>
 
60
      <item row="0" column="3" >
 
61
       <widget class="QPushButton" name="browseTorrents" >
 
62
        <property name="text" >
 
63
         <string>Browse</string>
 
64
        </property>
 
65
        <property name="default" >
 
66
         <bool>true</bool>
 
67
        </property>
 
68
       </widget>
 
69
      </item>
 
70
      <item row="5" column="0" >
 
71
       <widget class="QLabel" name="label_5" >
 
72
        <property name="text" >
 
73
         <string>File(s):</string>
 
74
        </property>
 
75
        <property name="alignment" >
 
76
         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
 
77
        </property>
 
78
       </widget>
 
79
      </item>
 
80
      <item row="4" column="0" >
 
81
       <widget class="QLabel" name="label_3" >
 
82
        <property name="text" >
 
83
         <string>Size:</string>
 
84
        </property>
 
85
       </widget>
 
86
      </item>
 
87
      <item row="2" column="0" >
 
88
       <widget class="QLabel" name="label_6" >
 
89
        <property name="text" >
 
90
         <string>Creator:</string>
 
91
        </property>
 
92
       </widget>
 
93
      </item>
 
94
      <item row="5" column="1" colspan="3" >
 
95
       <widget class="QTextEdit" name="torrentContents" >
 
96
        <property name="focusPolicy" >
 
97
         <enum>Qt::NoFocus</enum>
 
98
        </property>
 
99
        <property name="tabChangesFocus" >
 
100
         <bool>true</bool>
 
101
        </property>
 
102
        <property name="lineWrapMode" >
 
103
         <enum>QTextEdit::NoWrap</enum>
 
104
        </property>
 
105
        <property name="readOnly" >
 
106
         <bool>true</bool>
 
107
        </property>
 
108
       </widget>
 
109
      </item>
 
110
      <item row="6" column="1" colspan="2" >
 
111
       <widget class="QLineEdit" name="destinationFolder" >
 
112
        <property name="focusPolicy" >
 
113
         <enum>Qt::StrongFocus</enum>
 
114
        </property>
 
115
       </widget>
 
116
      </item>
 
117
      <item row="1" column="1" colspan="3" >
 
118
       <widget class="QLabel" name="announceUrl" >
 
119
        <property name="text" >
 
120
         <string>&lt;none></string>
 
121
        </property>
 
122
       </widget>
 
123
      </item>
 
124
      <item row="0" column="0" >
 
125
       <widget class="QLabel" name="label" >
 
126
        <property name="text" >
 
127
         <string>Torrent file:</string>
 
128
        </property>
 
129
       </widget>
 
130
      </item>
 
131
      <item row="6" column="3" >
 
132
       <widget class="QPushButton" name="browseDestination" >
 
133
        <property name="text" >
 
134
         <string>Browse</string>
 
135
        </property>
 
136
       </widget>
 
137
      </item>
 
138
      <item row="3" column="0" >
 
139
       <widget class="QLabel" name="label_7" >
 
140
        <property name="text" >
 
141
         <string>Comment:</string>
 
142
        </property>
 
143
       </widget>
 
144
      </item>
 
145
      <item row="3" column="1" colspan="3" >
 
146
       <widget class="QLabel" name="commentLabel" >
 
147
        <property name="text" >
 
148
         <string>&lt;none></string>
 
149
        </property>
 
150
       </widget>
 
151
      </item>
 
152
      <item row="2" column="1" colspan="3" >
 
153
       <widget class="QLabel" name="creatorLabel" >
 
154
        <property name="text" >
 
155
         <string>&lt;none></string>
 
156
        </property>
 
157
       </widget>
 
158
      </item>
 
159
      <item row="4" column="1" colspan="3" >
 
160
       <widget class="QLabel" name="sizeLabel" >
 
161
        <property name="text" >
 
162
         <string>0</string>
 
163
        </property>
 
164
       </widget>
 
165
      </item>
 
166
     </layout>
 
167
     <widget class="QWidget" name="widget" >
 
168
      <property name="geometry" >
 
169
       <rect>
 
170
        <x>10</x>
 
171
        <y>40</y>
 
172
        <width>364</width>
 
173
        <height>33</height>
 
174
       </rect>
 
175
      </property>
 
176
     </widget>
 
177
    </widget>
 
178
   </item>
 
179
   <item>
 
180
    <layout class="QHBoxLayout" >
 
181
     <property name="margin" >
 
182
      <number>0</number>
 
183
     </property>
 
184
     <property name="spacing" >
 
185
      <number>6</number>
 
186
     </property>
 
187
     <item>
 
188
      <spacer>
 
189
       <property name="orientation" >
 
190
        <enum>Qt::Horizontal</enum>
 
191
       </property>
 
192
       <property name="sizeHint" >
 
193
        <size>
 
194
         <width>131</width>
 
195
         <height>31</height>
 
196
        </size>
 
197
       </property>
 
198
      </spacer>
 
199
     </item>
 
200
     <item>
 
201
      <widget class="QPushButton" name="okButton" >
 
202
       <property name="enabled" >
 
203
        <bool>false</bool>
 
204
       </property>
 
205
       <property name="text" >
 
206
        <string>&amp;OK</string>
 
207
       </property>
 
208
      </widget>
 
209
     </item>
 
210
     <item>
 
211
      <widget class="QPushButton" name="cancelButton" >
 
212
       <property name="text" >
 
213
        <string>&amp;Cancel</string>
 
214
       </property>
 
215
      </widget>
 
216
     </item>
 
217
    </layout>
 
218
   </item>
 
219
  </layout>
 
220
 </widget>
 
221
 <pixmapfunction></pixmapfunction>
 
222
 <tabstops>
 
223
  <tabstop>torrentFile</tabstop>
 
224
  <tabstop>browseTorrents</tabstop>
 
225
  <tabstop>torrentContents</tabstop>
 
226
  <tabstop>destinationFolder</tabstop>
 
227
  <tabstop>browseDestination</tabstop>
 
228
  <tabstop>okButton</tabstop>
 
229
  <tabstop>cancelButton</tabstop>
 
230
 </tabstops>
 
231
 <resources/>
 
232
 <connections>
 
233
  <connection>
 
234
   <sender>okButton</sender>
 
235
   <signal>clicked()</signal>
 
236
   <receiver>AddTorrentFile</receiver>
 
237
   <slot>accept()</slot>
 
238
   <hints>
 
239
    <hint type="sourcelabel" >
 
240
     <x>278</x>
 
241
     <y>253</y>
 
242
    </hint>
 
243
    <hint type="destinationlabel" >
 
244
     <x>96</x>
 
245
     <y>254</y>
 
246
    </hint>
 
247
   </hints>
 
248
  </connection>
 
249
  <connection>
 
250
   <sender>cancelButton</sender>
 
251
   <signal>clicked()</signal>
 
252
   <receiver>AddTorrentFile</receiver>
 
253
   <slot>reject()</slot>
 
254
   <hints>
 
255
    <hint type="sourcelabel" >
 
256
     <x>369</x>
 
257
     <y>253</y>
 
258
    </hint>
 
259
    <hint type="destinationlabel" >
 
260
     <x>179</x>
 
261
     <y>282</y>
 
262
    </hint>
 
263
   </hints>
 
264
  </connection>
 
265
 </connections>
 
266
</ui>