maemopackagecreationwidget.ui 10.1 KB
Newer Older
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MaemoPackageCreationWidget</class>
 <widget class="QWidget" name="MaemoPackageCreationWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>505</width>
10
    <height>189</height>
11
12
13
14
15
16
17
18
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
    <horstretch>1</horstretch>
    <verstretch>1</verstretch>
   </sizepolicy>
  </property>
19
  <layout class="QVBoxLayout" name="verticalLayout">
ck's avatar
ck committed
20
21
22
   <item>
    <widget class="QCheckBox" name="skipCheckBox">
     <property name="toolTip">
ck's avatar
ck committed
23
      <string>Check this if you want the files below to be deployed directly.</string>
ck's avatar
ck committed
24
25
     </property>
     <property name="text">
ck's avatar
ck committed
26
      <string>Skip packaging step</string>
ck's avatar
ck committed
27
28
29
     </property>
    </widget>
   </item>
30
   <item>
31
    <spacer name="verticalSpacer">
32
33
34
35
36
37
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
38
       <height>40</height>
39
40
41
42
43
      </size>
     </property>
    </spacer>
   </item>
   <item>
44
45
    <layout class="QFormLayout" name="formLayout">
     <item row="0" column="0">
46
47
      <widget class="QLabel" name="label">
       <property name="sizePolicy">
48
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
49
50
51
52
53
54
55
56
57
58
59
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="font">
        <font>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
60
        <string>&lt;b&gt;Version number:&lt;/b&gt;</string>
61
62
63
       </property>
      </widget>
     </item>
64
     <item row="0" column="1">
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
      <layout class="QHBoxLayout" name="horizontalLayout_2">
       <item>
        <widget class="QLabel" name="label_2">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Major:</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QSpinBox" name="major">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="maximum">
          <number>99</number>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QLabel" name="label_3">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Minor:</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QSpinBox" name="minor">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="maximum">
          <number>99</number>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QLabel" name="label_4">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text">
          <string>Patch:</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QSpinBox" name="patch">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="maximum">
          <number>99</number>
         </property>
        </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>
     </item>
159
     <item row="1" column="0">
160
      <widget class="QLabel" name="nameLabel">
161
       <property name="text">
162
        <string>&lt;b&gt;Name for Package Manager:&lt;/b&gt;</string>
163
164
165
166
       </property>
      </widget>
     </item>
     <item row="1" column="1">
167
      <layout class="QHBoxLayout" name="horizontalLayout_4">
168
       <item>
169
        <widget class="QLineEdit" name="nameLineEdit"/>
170
171
       </item>
       <item>
172
        <spacer name="horizontalSpacer_4">
173
174
175
176
177
178
179
180
181
182
183
184
185
         <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>
186
187
     <item row="2" column="0">
      <widget class="QLabel" name="packageManagerIconLabel">
188
189
190
191
192
193
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>48</height>
        </size>
       </property>
194
       <property name="text">
195
        <string>&lt;b&gt;Package Manager icon:&lt;/b&gt;</string>
196
197
198
199
200
201
202
       </property>
      </widget>
     </item>
     <item row="2" column="1">
      <layout class="QHBoxLayout" name="horizontalLayout_3">
       <item>
        <widget class="QToolButton" name="packageManagerIconButton">
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
         <property name="minimumSize">
          <size>
           <width>48</width>
           <height>48</height>
          </size>
         </property>
         <property name="maximumSize">
          <size>
           <width>48</width>
           <height>48</height>
          </size>
         </property>
         <property name="toolTip">
          <string>Size is 48x48 pixels</string>
         </property>
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
         <property name="text">
          <string/>
         </property>
        </widget>
       </item>
       <item>
        <spacer name="horizontalSpacer_3">
         <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>
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
     <item row="3" column="0">
      <widget class="QLabel" name="editDebianFileLabel">
       <property name="text">
        <string>&lt;b&gt;Adapt Debian file:&lt;/b&gt;</string>
       </property>
      </widget>
     </item>
     <item row="3" column="1">
      <layout class="QHBoxLayout" name="horizontalLayout">
       <item>
        <widget class="QComboBox" name="debianFilesComboBox"/>
       </item>
       <item>
        <widget class="QPushButton" name="editDebianFileButton">
         <property name="text">
          <string>Edit</string>
         </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>
272
273
    </layout>
   </item>
274
275
  </layout>
 </widget>
276
 <resources/>
277
 <connections>
ck's avatar
ck committed
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
  <connection>
   <sender>skipCheckBox</sender>
   <signal>clicked(bool)</signal>
   <receiver>MaemoPackageCreationWidget</receiver>
   <slot>handleSkipButtonToggled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>129</x>
     <y>18</y>
    </hint>
    <hint type="destinationlabel">
     <x>240</x>
     <y>31</y>
    </hint>
   </hints>
  </connection>
294
295
296
297
298
299
300
  <connection>
   <sender>major</sender>
   <signal>valueChanged(int)</signal>
   <receiver>MaemoPackageCreationWidget</receiver>
   <slot>versionInfoChanged()</slot>
   <hints>
    <hint type="sourcelabel">
301
302
     <x>241</x>
     <y>70</y>
303
304
305
306
307
308
309
310
311
312
313
314
315
316
    </hint>
    <hint type="destinationlabel">
     <x>461</x>
     <y>32</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>minor</sender>
   <signal>valueChanged(int)</signal>
   <receiver>MaemoPackageCreationWidget</receiver>
   <slot>versionInfoChanged()</slot>
   <hints>
    <hint type="sourcelabel">
317
318
     <x>338</x>
     <y>70</y>
319
320
321
322
323
324
325
326
327
328
329
330
331
332
    </hint>
    <hint type="destinationlabel">
     <x>5</x>
     <y>15</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>patch</sender>
   <signal>valueChanged(int)</signal>
   <receiver>MaemoPackageCreationWidget</receiver>
   <slot>versionInfoChanged()</slot>
   <hints>
    <hint type="sourcelabel">
333
334
     <x>435</x>
     <y>70</y>
335
336
337
    </hint>
    <hint type="destinationlabel">
     <x>466</x>
338
     <y>0</y>
339
340
341
    </hint>
   </hints>
  </connection>
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
  <connection>
   <sender>editDebianFileButton</sender>
   <signal>clicked()</signal>
   <receiver>MaemoPackageCreationWidget</receiver>
   <slot>editDebianFile()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>293</x>
     <y>94</y>
    </hint>
    <hint type="destinationlabel">
     <x>8</x>
     <y>86</y>
    </hint>
   </hints>
  </connection>
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
  <connection>
   <sender>packageManagerIconButton</sender>
   <signal>clicked()</signal>
   <receiver>MaemoPackageCreationWidget</receiver>
   <slot>setPackageManagerIcon()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>196</x>
     <y>136</y>
    </hint>
    <hint type="destinationlabel">
     <x>2</x>
     <y>143</y>
    </hint>
   </hints>
  </connection>
374
375
376
377
 </connections>
 <slots>
  <slot>addFile()</slot>
  <slot>removeFile()</slot>
ck's avatar
ck committed
378
  <slot>handleSkipButtonToggled(bool)</slot>
379
  <slot>versionInfoChanged()</slot>
380
  <slot>editDebianFile()</slot>
381
  <slot>setPackageManagerIcon()</slot>
382
 </slots>
383
</ui>