OSDN Git Service

kdeplasma-addons: use KMessageWidget instead of KMessageBox for the weather configura...
[kde/kde-extraapps.git] / kdeplasma-addons / libs / plasmaweather / weatherconfig.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>WeatherConfig</class>
4  <widget class="QWidget" name="WeatherConfig">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>408</width>
10     <height>303</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>0</width>
22     <height>0</height>
23    </size>
24   </property>
25   <property name="maximumSize">
26    <size>
27     <width>16777215</width>
28     <height>16777215</height>
29    </size>
30   </property>
31   <property name="windowTitle">
32    <string>Weather Station Configuration</string>
33   </property>
34   <layout class="QGridLayout" name="gridLayout">
35    <property name="margin">
36     <number>0</number>
37    </property>
38    <item row="0" column="0" colspan="2">
39     <widget class="KMessageWidget" name="locationMessage">
40     </widget>
41    </item>
42    <item row="1" column="0">
43     <widget class="QLabel" name="locationLabel">
44      <property name="font">
45       <font>
46        <weight>75</weight>
47        <bold>true</bold>
48       </font>
49      </property>
50      <property name="text">
51       <string>Weather Station</string>
52      </property>
53     </widget>
54    </item>
55    <item row="2" column="0">
56     <widget class="QLabel" name="cityLabel">
57      <property name="minimumSize">
58       <size>
59        <width>129</width>
60        <height>0</height>
61       </size>
62      </property>
63      <property name="text">
64       <string>&amp;Location:</string>
65      </property>
66      <property name="alignment">
67       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
68      </property>
69      <property name="buddy">
70       <cstring>locationCombo</cstring>
71      </property>
72     </widget>
73    </item>
74    <item row="2" column="1">
75     <layout class="QHBoxLayout" name="locationlayout">
76      <property name="spacing">
77       <number>0</number>
78      </property>
79      <item>
80       <widget class="KComboBox" name="locationCombo">
81        <property name="sizePolicy">
82         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
83          <horstretch>10</horstretch>
84          <verstretch>0</verstretch>
85         </sizepolicy>
86        </property>
87        <property name="editable">
88         <bool>true</bool>
89        </property>
90        <property name="trapReturnKey">
91         <bool>true</bool>
92        </property>
93       </widget>
94      </item>
95     </layout>
96    </item>
97    <item row="3" column="1">
98     <layout class="QHBoxLayout" name="locationSearchLayout">
99      <property name="spacing">
100       <number>0</number>
101      </property>
102      <item>
103       <spacer name="horizontalSpacer_6">
104        <property name="orientation">
105         <enum>Qt::Horizontal</enum>
106        </property>
107        <property name="sizeHint" stdset="0">
108         <size>
109          <width>40</width>
110          <height>20</height>
111         </size>
112        </property>
113       </spacer>
114      </item>
115      <item>
116       <widget class="KPushButton" name="changeButton">
117        <property name="sizePolicy">
118         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
119          <horstretch>0</horstretch>
120          <verstretch>0</verstretch>
121         </sizepolicy>
122        </property>
123        <property name="text">
124         <string>&amp;Search</string>
125        </property>
126       </widget>
127      </item>
128     </layout>
129    </item>
130    <item row="4" column="0">
131     <widget class="QLabel" name="intervalLabel">
132      <property name="minimumSize">
133       <size>
134        <width>129</width>
135        <height>0</height>
136       </size>
137      </property>
138      <property name="text">
139       <string>Update &amp;every:</string>
140      </property>
141      <property name="alignment">
142       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
143      </property>
144      <property name="buddy">
145       <cstring>updateIntervalSpinBox</cstring>
146      </property>
147     </widget>
148    </item>
149    <item row="4" column="1">
150     <layout class="QHBoxLayout" name="horizontalLayout_4">
151      <property name="spacing">
152       <number>0</number>
153      </property>
154      <item>
155       <widget class="KIntSpinBox" name="updateIntervalSpinBox">
156        <property name="sizePolicy">
157         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
158          <horstretch>0</horstretch>
159          <verstretch>0</verstretch>
160         </sizepolicy>
161        </property>
162        <property name="suffix">
163         <string> minutes</string>
164        </property>
165        <property name="minimum">
166         <number>30</number>
167        </property>
168        <property name="maximum">
169         <number>3600</number>
170        </property>
171        <property name="singleStep">
172         <number>5</number>
173        </property>
174       </widget>
175      </item>
176      <item>
177       <spacer name="horizontalSpacer_5">
178        <property name="orientation">
179         <enum>Qt::Horizontal</enum>
180        </property>
181        <property name="sizeHint" stdset="0">
182         <size>
183          <width>40</width>
184          <height>20</height>
185         </size>
186        </property>
187       </spacer>
188      </item>
189     </layout>
190    </item>
191    <item row="5" column="0">
192     <widget class="QLabel" name="unitsLabel">
193      <property name="font">
194       <font>
195        <weight>75</weight>
196        <bold>true</bold>
197       </font>
198      </property>
199      <property name="text">
200       <string>Units</string>
201      </property>
202     </widget>
203    </item>
204    <item row="6" column="1">
205     <layout class="QHBoxLayout" name="horizontalLayout_5">
206      <property name="spacing">
207       <number>0</number>
208      </property>
209      <item>
210       <widget class="KComboBox" name="temperatureComboBox">
211        <property name="sizePolicy">
212         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
213          <horstretch>0</horstretch>
214          <verstretch>0</verstretch>
215         </sizepolicy>
216        </property>
217       </widget>
218      </item>
219      <item>
220       <spacer name="horizontalSpacer_4">
221        <property name="orientation">
222         <enum>Qt::Horizontal</enum>
223        </property>
224        <property name="sizeHint" stdset="0">
225         <size>
226          <width>40</width>
227          <height>20</height>
228         </size>
229        </property>
230       </spacer>
231      </item>
232     </layout>
233    </item>
234    <item row="6" column="0">
235     <widget class="QLabel" name="temperatureLabel">
236      <property name="minimumSize">
237       <size>
238        <width>129</width>
239        <height>0</height>
240       </size>
241      </property>
242      <property name="text">
243       <string>&amp;Temperature:</string>
244      </property>
245      <property name="alignment">
246       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
247      </property>
248      <property name="buddy">
249       <cstring>temperatureComboBox</cstring>
250      </property>
251     </widget>
252    </item>
253    <item row="7" column="0">
254     <widget class="QLabel" name="pressureLabel">
255      <property name="minimumSize">
256       <size>
257        <width>129</width>
258        <height>0</height>
259       </size>
260      </property>
261      <property name="text">
262       <string>&amp;Pressure:</string>
263      </property>
264      <property name="alignment">
265       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
266      </property>
267      <property name="buddy">
268       <cstring>pressureComboBox</cstring>
269      </property>
270     </widget>
271    </item>
272    <item row="7" column="1">
273     <layout class="QHBoxLayout" name="horizontalLayout_6">
274      <property name="spacing">
275       <number>0</number>
276      </property>
277      <item>
278       <widget class="KComboBox" name="pressureComboBox">
279        <property name="sizePolicy">
280         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
281          <horstretch>0</horstretch>
282          <verstretch>0</verstretch>
283         </sizepolicy>
284        </property>
285       </widget>
286      </item>
287      <item>
288       <spacer name="horizontalSpacer_3">
289        <property name="orientation">
290         <enum>Qt::Horizontal</enum>
291        </property>
292        <property name="sizeHint" stdset="0">
293         <size>
294          <width>40</width>
295          <height>20</height>
296         </size>
297        </property>
298       </spacer>
299      </item>
300     </layout>
301    </item>
302    <item row="8" column="0">
303     <widget class="QLabel" name="speedLabel">
304      <property name="minimumSize">
305       <size>
306        <width>129</width>
307        <height>0</height>
308       </size>
309      </property>
310      <property name="text">
311       <string>Wind &amp;speed:</string>
312      </property>
313      <property name="alignment">
314       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
315      </property>
316      <property name="buddy">
317       <cstring>speedComboBox</cstring>
318      </property>
319     </widget>
320    </item>
321    <item row="8" column="1">
322     <layout class="QHBoxLayout" name="horizontalLayout_7">
323      <property name="spacing">
324       <number>0</number>
325      </property>
326      <item>
327       <widget class="KComboBox" name="speedComboBox">
328        <property name="sizePolicy">
329         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
330          <horstretch>0</horstretch>
331          <verstretch>0</verstretch>
332         </sizepolicy>
333        </property>
334       </widget>
335      </item>
336      <item>
337       <spacer name="horizontalSpacer_2">
338        <property name="orientation">
339         <enum>Qt::Horizontal</enum>
340        </property>
341        <property name="sizeHint" stdset="0">
342         <size>
343          <width>40</width>
344          <height>20</height>
345         </size>
346        </property>
347       </spacer>
348      </item>
349     </layout>
350    </item>
351    <item row="9" column="0">
352     <widget class="QLabel" name="visibilityLabel">
353      <property name="minimumSize">
354       <size>
355        <width>129</width>
356        <height>0</height>
357       </size>
358      </property>
359      <property name="text">
360       <string>&amp;Visibility:</string>
361      </property>
362      <property name="alignment">
363       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
364      </property>
365      <property name="buddy">
366       <cstring>visibilityComboBox</cstring>
367      </property>
368     </widget>
369    </item>
370    <item row="9" column="1">
371     <layout class="QHBoxLayout" name="horizontalLayout_8">
372      <property name="spacing">
373       <number>0</number>
374      </property>
375      <item>
376       <widget class="KComboBox" name="visibilityComboBox">
377        <property name="sizePolicy">
378         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
379          <horstretch>0</horstretch>
380          <verstretch>0</verstretch>
381         </sizepolicy>
382        </property>
383       </widget>
384      </item>
385      <item>
386       <spacer name="horizontalSpacer">
387        <property name="orientation">
388         <enum>Qt::Horizontal</enum>
389        </property>
390        <property name="sizeHint" stdset="0">
391         <size>
392          <width>40</width>
393          <height>20</height>
394         </size>
395        </property>
396       </spacer>
397      </item>
398     </layout>
399    </item>
400    <item row="10" column="0">
401     <spacer name="verticalSpacer">
402      <property name="orientation">
403       <enum>Qt::Vertical</enum>
404      </property>
405      <property name="sizeHint" stdset="0">
406       <size>
407        <width>17</width>
408        <height>13</height>
409       </size>
410      </property>
411     </spacer>
412    </item>
413   </layout>
414  </widget>
415  <customwidgets>
416   <customwidget>
417    <class>KMessageWidget</class>
418    <extends>QFrame</extends>
419    <header>kmessagewidget.h</header>
420    <container>1</container>
421   </customwidget>
422   <customwidget>
423    <class>KIntSpinBox</class>
424    <extends>QSpinBox</extends>
425    <header>knuminput.h</header>
426   </customwidget>
427   <customwidget>
428    <class>KPushButton</class>
429    <extends>QPushButton</extends>
430    <header>kpushbutton.h</header>
431   </customwidget>
432   <customwidget>
433    <class>KComboBox</class>
434    <extends>QComboBox</extends>
435    <header>kcombobox.h</header>
436   </customwidget>
437  </customwidgets>
438  <connections/>
439 </ui>