Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kcurrencycalculator.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>KCurrencyCalculator</class> | ||||
4 | <widget class="QDialog" name="KCurrencyCalculator"> | ||||
5 | <property name="enabled"> | ||||
6 | <bool>true</bool> | ||||
7 | </property> | ||||
8 | <property name="geometry"> | ||||
9 | <rect> | ||||
10 | <x>0</x> | ||||
11 | <y>0</y> | ||||
12 | <width>387</width> | ||||
13 | <height>268</height> | ||||
14 | </rect> | ||||
15 | </property> | ||||
16 | <property name="windowTitle"> | ||||
17 | <string>Exchange Rate/Price Editor</string> | ||||
18 | </property> | ||||
19 | <property name="sizeGripEnabled"> | ||||
20 | <bool>true</bool> | ||||
21 | </property> | ||||
22 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
23 | <item> | ||||
24 | <layout class="QVBoxLayout"> | ||||
25 | <item> | ||||
26 | <widget class="QFrame" name="m_amountDateFrame"> | ||||
27 | <property name="frameShape"> | ||||
28 | <enum>QFrame::NoFrame</enum> | ||||
29 | </property> | ||||
30 | <property name="frameShadow"> | ||||
31 | <enum>QFrame::Plain</enum> | ||||
32 | </property> | ||||
33 | <layout class="QVBoxLayout"> | ||||
34 | <property name="leftMargin"> | ||||
35 | <number>0</number> | ||||
36 | </property> | ||||
37 | <property name="topMargin"> | ||||
38 | <number>0</number> | ||||
39 | </property> | ||||
40 | <property name="rightMargin"> | ||||
41 | <number>0</number> | ||||
42 | </property> | ||||
43 | <property name="bottomMargin"> | ||||
44 | <number>0</number> | ||||
45 | </property> | ||||
46 | <item> | ||||
47 | <layout class="QHBoxLayout"> | ||||
48 | <item> | ||||
49 | <widget class="QLabel" name="textLabel3"> | ||||
50 | <property name="text"> | ||||
51 | <string>Amount</string> | ||||
52 | </property> | ||||
53 | <property name="wordWrap"> | ||||
54 | <bool>false</bool> | ||||
55 | </property> | ||||
56 | </widget> | ||||
57 | </item> | ||||
58 | <item> | ||||
59 | <widget class="QLabel" name="m_fromAmount"> | ||||
60 | <property name="text"> | ||||
61 | <string>xxx</string> | ||||
62 | </property> | ||||
63 | <property name="wordWrap"> | ||||
64 | <bool>false</bool> | ||||
65 | </property> | ||||
66 | </widget> | ||||
67 | </item> | ||||
68 | <item> | ||||
69 | <spacer name="spacer10"> | ||||
70 | <property name="orientation"> | ||||
71 | <enum>Qt::Horizontal</enum> | ||||
72 | </property> | ||||
73 | <property name="sizeType"> | ||||
74 | <enum>QSizePolicy::Expanding</enum> | ||||
75 | </property> | ||||
76 | <property name="sizeHint" stdset="0"> | ||||
77 | <size> | ||||
78 | <width>80</width> | ||||
79 | <height>20</height> | ||||
80 | </size> | ||||
81 | </property> | ||||
82 | </spacer> | ||||
83 | </item> | ||||
84 | <item> | ||||
85 | <widget class="QLabel" name="textLabel2"> | ||||
86 | <property name="text"> | ||||
87 | <string>Date</string> | ||||
88 | </property> | ||||
89 | <property name="wordWrap"> | ||||
90 | <bool>false</bool> | ||||
91 | </property> | ||||
92 | </widget> | ||||
93 | </item> | ||||
94 | <item> | ||||
95 | <widget class="QLabel" name="m_dateText"> | ||||
96 | <property name="text"> | ||||
97 | <string>xxx</string> | ||||
98 | </property> | ||||
99 | <property name="wordWrap"> | ||||
100 | <bool>false</bool> | ||||
101 | </property> | ||||
102 | </widget> | ||||
103 | </item> | ||||
104 | <item> | ||||
105 | <spacer name="spacer4"> | ||||
106 | <property name="orientation"> | ||||
107 | <enum>Qt::Horizontal</enum> | ||||
108 | </property> | ||||
109 | <property name="sizeType"> | ||||
110 | <enum>QSizePolicy::Expanding</enum> | ||||
111 | </property> | ||||
112 | <property name="sizeHint" stdset="0"> | ||||
113 | <size> | ||||
114 | <width>145</width> | ||||
115 | <height>20</height> | ||||
116 | </size> | ||||
117 | </property> | ||||
118 | </spacer> | ||||
119 | </item> | ||||
120 | </layout> | ||||
121 | </item> | ||||
122 | </layout> | ||||
123 | </widget> | ||||
124 | </item> | ||||
125 | <item> | ||||
126 | <layout class="QHBoxLayout"> | ||||
127 | <item> | ||||
128 | <widget class="QGroupBox" name="groupBox2_2"> | ||||
129 | <property name="title"> | ||||
130 | <string>Convert</string> | ||||
131 | </property> | ||||
132 | <layout class="QHBoxLayout"> | ||||
133 | <property name="spacing"> | ||||
134 | <number>0</number> | ||||
135 | </property> | ||||
136 | <item> | ||||
137 | <widget class="QLabel" name="m_fromCurrencyText"> | ||||
138 | <property name="text"> | ||||
139 | <string/> | ||||
140 | </property> | ||||
141 | <property name="alignment"> | ||||
142 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||||
143 | </property> | ||||
144 | <property name="wordWrap"> | ||||
145 | <bool>false</bool> | ||||
146 | </property> | ||||
147 | </widget> | ||||
148 | </item> | ||||
149 | <item> | ||||
150 | <widget class="QLabel" name="label100"> | ||||
151 | <property name="text"> | ||||
152 | <string comment="@label convert from stock to currency">to</string> | ||||
153 | </property> | ||||
154 | <property name="alignment"> | ||||
155 | <set>Qt::AlignCenter</set> | ||||
156 | </property> | ||||
157 | <property name="wordWrap"> | ||||
158 | <bool>false</bool> | ||||
159 | </property> | ||||
160 | </widget> | ||||
161 | </item> | ||||
162 | <item> | ||||
163 | <widget class="QLabel" name="m_toCurrencyText"> | ||||
164 | <property name="text"> | ||||
165 | <string/> | ||||
166 | </property> | ||||
167 | <property name="alignment"> | ||||
168 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||||
169 | </property> | ||||
170 | <property name="wordWrap"> | ||||
171 | <bool>false</bool> | ||||
172 | </property> | ||||
173 | </widget> | ||||
174 | </item> | ||||
175 | </layout> | ||||
176 | </widget> | ||||
177 | </item> | ||||
178 | </layout> | ||||
179 | </item> | ||||
180 | <item> | ||||
181 | <layout class="QGridLayout"> | ||||
182 | <item row="1" column="1"> | ||||
183 | <widget class="kMyMoneyEdit" name="m_conversionRate" native="true"/> | ||||
184 | </item> | ||||
185 | <item row="0" column="0" rowspan="3"> | ||||
186 | <widget class="QGroupBox" name="buttonGroupBox1"> | ||||
187 | <property name="title"> | ||||
188 | <string/> | ||||
189 | </property> | ||||
190 | <property name="flat"> | ||||
191 | <bool>true</bool> | ||||
192 | </property> | ||||
193 | <layout class="QVBoxLayout"> | ||||
194 | <property name="leftMargin"> | ||||
195 | <number>0</number> | ||||
196 | </property> | ||||
197 | <property name="topMargin"> | ||||
198 | <number>0</number> | ||||
199 | </property> | ||||
200 | <property name="rightMargin"> | ||||
201 | <number>0</number> | ||||
202 | </property> | ||||
203 | <property name="bottomMargin"> | ||||
204 | <number>0</number> | ||||
205 | </property> | ||||
206 | <item> | ||||
207 | <widget class="QFrame" name="frame"> | ||||
208 | <property name="frameShape"> | ||||
209 | <enum>QFrame::NoFrame</enum> | ||||
210 | </property> | ||||
211 | <property name="frameShadow"> | ||||
212 | <enum>QFrame::Plain</enum> | ||||
213 | </property> | ||||
214 | <layout class="QVBoxLayout"> | ||||
215 | <property name="leftMargin"> | ||||
216 | <number>0</number> | ||||
217 | </property> | ||||
218 | <property name="topMargin"> | ||||
219 | <number>0</number> | ||||
220 | </property> | ||||
221 | <property name="rightMargin"> | ||||
222 | <number>0</number> | ||||
223 | </property> | ||||
224 | <property name="bottomMargin"> | ||||
225 | <number>0</number> | ||||
226 | </property> | ||||
227 | <item> | ||||
228 | <widget class="QRadioButton" name="m_amountButton"> | ||||
229 | <property name="text"> | ||||
230 | <string>To a&mount</string> | ||||
231 | </property> | ||||
232 | <attribute name="buttonGroup"> | ||||
233 | <string notr="true">buttonGroup1</string> | ||||
234 | </attribute> | ||||
235 | </widget> | ||||
236 | </item> | ||||
237 | <item> | ||||
238 | <widget class="QRadioButton" name="m_rateButton"> | ||||
239 | <property name="text"> | ||||
240 | <string>Exchange &rate / Price</string> | ||||
241 | </property> | ||||
242 | <attribute name="buttonGroup"> | ||||
243 | <string notr="true">buttonGroup1</string> | ||||
244 | </attribute> | ||||
245 | </widget> | ||||
246 | </item> | ||||
247 | </layout> | ||||
248 | </widget> | ||||
249 | </item> | ||||
250 | </layout> | ||||
251 | </widget> | ||||
252 | </item> | ||||
253 | <item row="3" column="0" colspan="2"> | ||||
254 | <widget class="QFrame" name="m_dateFrame"> | ||||
255 | <property name="frameShape"> | ||||
256 | <enum>QFrame::NoFrame</enum> | ||||
257 | </property> | ||||
258 | <property name="frameShadow"> | ||||
259 | <enum>QFrame::Plain</enum> | ||||
260 | </property> | ||||
261 | <layout class="QHBoxLayout"> | ||||
262 | <property name="leftMargin"> | ||||
263 | <number>0</number> | ||||
264 | </property> | ||||
265 | <property name="topMargin"> | ||||
266 | <number>0</number> | ||||
267 | </property> | ||||
268 | <property name="rightMargin"> | ||||
269 | <number>0</number> | ||||
270 | </property> | ||||
271 | <property name="bottomMargin"> | ||||
272 | <number>0</number> | ||||
273 | </property> | ||||
274 | <item> | ||||
275 | <widget class="QLabel" name="textLabel1"> | ||||
276 | <property name="text"> | ||||
277 | <string>Date</string> | ||||
278 | </property> | ||||
279 | <property name="wordWrap"> | ||||
280 | <bool>false</bool> | ||||
281 | </property> | ||||
282 | </widget> | ||||
283 | </item> | ||||
284 | <item> | ||||
285 | <widget class="kMyMoneyDateInput" name="m_dateEdit" native="true"/> | ||||
286 | </item> | ||||
287 | </layout> | ||||
288 | </widget> | ||||
289 | </item> | ||||
290 | <item row="2" column="1"> | ||||
291 | <widget class="QLabel" name="m_conversionExample"> | ||||
292 | <property name="text"> | ||||
293 | <string>xx | ||||
294 | xx</string> | ||||
295 | </property> | ||||
296 | <property name="wordWrap"> | ||||
297 | <bool>false</bool> | ||||
298 | </property> | ||||
299 | </widget> | ||||
300 | </item> | ||||
301 | <item row="0" column="1"> | ||||
302 | <widget class="kMyMoneyEdit" name="m_toAmount" native="true"/> | ||||
303 | </item> | ||||
304 | </layout> | ||||
305 | </item> | ||||
306 | <item> | ||||
307 | <widget class="QCheckBox" name="m_updateButton"> | ||||
308 | <property name="text"> | ||||
309 | <string>Update price history</string> | ||||
310 | </property> | ||||
311 | <property name="checked"> | ||||
312 | <bool>true</bool> | ||||
313 | </property> | ||||
314 | </widget> | ||||
315 | </item> | ||||
316 | <item> | ||||
317 | <spacer name="spacer3"> | ||||
318 | <property name="orientation"> | ||||
319 | <enum>Qt::Vertical</enum> | ||||
320 | </property> | ||||
321 | <property name="sizeType"> | ||||
322 | <enum>QSizePolicy::Expanding</enum> | ||||
323 | </property> | ||||
324 | <property name="sizeHint" stdset="0"> | ||||
325 | <size> | ||||
326 | <width>20</width> | ||||
327 | <height>16</height> | ||||
328 | </size> | ||||
329 | </property> | ||||
330 | </spacer> | ||||
331 | </item> | ||||
332 | <item> | ||||
333 | <widget class="QDialogButtonBox" name="buttonBox"> | ||||
334 | <property name="standardButtons"> | ||||
335 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||||
336 | </property> | ||||
337 | </widget> | ||||
338 | </item> | ||||
339 | </layout> | ||||
340 | </item> | ||||
341 | </layout> | ||||
342 | </widget> | ||||
343 | <layoutdefault spacing="6" margin="11"/> | ||||
344 | <customwidgets> | ||||
345 | <customwidget> | ||||
346 | <class>kMyMoneyDateInput</class> | ||||
347 | <extends>QWidget</extends> | ||||
348 | <header>kmymoneydateinput.h</header> | ||||
349 | <container>1</container> | ||||
350 | </customwidget> | ||||
351 | <customwidget> | ||||
352 | <class>kMyMoneyEdit</class> | ||||
353 | <extends>QWidget</extends> | ||||
354 | <header>kmymoneyedit.h</header> | ||||
355 | </customwidget> | ||||
356 | </customwidgets> | ||||
357 | <tabstops> | ||||
358 | <tabstop>m_amountButton</tabstop> | ||||
359 | <tabstop>m_rateButton</tabstop> | ||||
360 | <tabstop>m_updateButton</tabstop> | ||||
361 | </tabstops> | ||||
362 | <resources/> | ||||
363 | <connections> | ||||
364 | <connection> | ||||
365 | <sender>buttonBox</sender> | ||||
366 | <signal>accepted()</signal> | ||||
367 | <receiver>KCurrencyCalculator</receiver> | ||||
368 | <slot>accept()</slot> | ||||
369 | <hints> | ||||
370 | <hint type="sourcelabel"> | ||||
371 | <x>189</x> | ||||
372 | <y>233</y> | ||||
373 | </hint> | ||||
374 | <hint type="destinationlabel"> | ||||
375 | <x>193</x> | ||||
376 | <y>133</y> | ||||
377 | </hint> | ||||
378 | </hints> | ||||
379 | </connection> | ||||
380 | <connection> | ||||
381 | <sender>buttonBox</sender> | ||||
382 | <signal>rejected()</signal> | ||||
383 | <receiver>KCurrencyCalculator</receiver> | ||||
384 | <slot>reject()</slot> | ||||
385 | <hints> | ||||
386 | <hint type="sourcelabel"> | ||||
387 | <x>189</x> | ||||
388 | <y>233</y> | ||||
389 | </hint> | ||||
390 | <hint type="destinationlabel"> | ||||
391 | <x>193</x> | ||||
392 | <y>133</y> | ||||
393 | </hint> | ||||
394 | </hints> | ||||
395 | </connection> | ||||
396 | </connections> | ||||
397 | <buttongroups> | ||||
398 | <buttongroup name="buttonGroup1"/> | ||||
399 | </buttongroups> | ||||
400 | </ui> |