Mercurial > hg > syntilista
comparison src/mainwindow.ui @ 80:c8fd927cd2c4
Restructure the project by placing source code, images into appropriate
subdirectories.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Apr 2017 12:12:39 +0300 |
parents | mainwindow.ui@cc8fbf9a61b2 |
children | efab68769c75 |
comparison
equal
deleted
inserted
replaced
79:f48b8fc1de64 | 80:c8fd927cd2c4 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <ui version="4.0"> | |
3 <class>SyntilistaMainWindow</class> | |
4 <widget class="QMainWindow" name="SyntilistaMainWindow"> | |
5 <property name="geometry"> | |
6 <rect> | |
7 <x>0</x> | |
8 <y>0</y> | |
9 <width>835</width> | |
10 <height>646</height> | |
11 </rect> | |
12 </property> | |
13 <widget class="QWidget" name="centralwidget"> | |
14 <layout class="QHBoxLayout" name="horizontalLayout_2"> | |
15 <item> | |
16 <widget class="QGroupBox" name="henkilotGB"> | |
17 <property name="title"> | |
18 <string>Henkilöt</string> | |
19 </property> | |
20 <layout class="QVBoxLayout" name="verticalLayout_2"> | |
21 <item> | |
22 <layout class="QHBoxLayout" name="horizontalLayout_3"> | |
23 <item> | |
24 <widget class="QLabel" name="label"> | |
25 <property name="text"> | |
26 <string>Etsi / suodata</string> | |
27 </property> | |
28 </widget> | |
29 </item> | |
30 <item> | |
31 <widget class="QLineEdit" name="edit_PersonFilter"/> | |
32 </item> | |
33 <item> | |
34 <widget class="QPushButton" name="button_ClearFilter"> | |
35 <property name="text"> | |
36 <string>Tyhjennä suodatin</string> | |
37 </property> | |
38 </widget> | |
39 </item> | |
40 </layout> | |
41 </item> | |
42 <item> | |
43 <widget class="QTableView" name="tableview_People"> | |
44 <property name="selectionMode"> | |
45 <enum>QAbstractItemView::SingleSelection</enum> | |
46 </property> | |
47 <property name="selectionBehavior"> | |
48 <enum>QAbstractItemView::SelectRows</enum> | |
49 </property> | |
50 </widget> | |
51 </item> | |
52 <item> | |
53 <layout class="QHBoxLayout" name="horizontalLayout"> | |
54 <item> | |
55 <widget class="QPushButton" name="button_DeletePerson"> | |
56 <property name="text"> | |
57 <string>Poista henkilö</string> | |
58 </property> | |
59 </widget> | |
60 </item> | |
61 <item> | |
62 <spacer name="horizontalSpacer"> | |
63 <property name="orientation"> | |
64 <enum>Qt::Horizontal</enum> | |
65 </property> | |
66 <property name="sizeHint" stdset="0"> | |
67 <size> | |
68 <width>40</width> | |
69 <height>20</height> | |
70 </size> | |
71 </property> | |
72 </spacer> | |
73 </item> | |
74 <item> | |
75 <widget class="QPushButton" name="button_AddPerson"> | |
76 <property name="text"> | |
77 <string>Lisää uusi henkilö</string> | |
78 </property> | |
79 </widget> | |
80 </item> | |
81 <item> | |
82 <widget class="QPushButton" name="button_EditPerson"> | |
83 <property name="text"> | |
84 <string>Muokkaa henkilöä</string> | |
85 </property> | |
86 </widget> | |
87 </item> | |
88 </layout> | |
89 </item> | |
90 </layout> | |
91 </widget> | |
92 </item> | |
93 <item> | |
94 <layout class="QVBoxLayout" name="verticalLayout"> | |
95 <property name="sizeConstraint"> | |
96 <enum>QLayout::SetMinimumSize</enum> | |
97 </property> | |
98 <item> | |
99 <widget class="QGroupBox" name="personGB"> | |
100 <property name="enabled"> | |
101 <bool>true</bool> | |
102 </property> | |
103 <property name="title"> | |
104 <string>Henkilön syntilista</string> | |
105 </property> | |
106 <property name="alignment"> | |
107 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | |
108 </property> | |
109 <property name="flat"> | |
110 <bool>false</bool> | |
111 </property> | |
112 <layout class="QVBoxLayout" name="verticalLayout_3"> | |
113 <property name="sizeConstraint"> | |
114 <enum>QLayout::SetMinimumSize</enum> | |
115 </property> | |
116 <item> | |
117 <widget class="QLabel" name="label_PersonName"> | |
118 <property name="text"> | |
119 <string>Henkilön nimi</string> | |
120 </property> | |
121 </widget> | |
122 </item> | |
123 <item> | |
124 <widget class="Line" name="line"> | |
125 <property name="lineWidth"> | |
126 <number>4</number> | |
127 </property> | |
128 <property name="orientation"> | |
129 <enum>Qt::Horizontal</enum> | |
130 </property> | |
131 </widget> | |
132 </item> | |
133 <item> | |
134 <layout class="QHBoxLayout" name="horizontalLayout_6"> | |
135 <item> | |
136 <widget class="QLabel" name="label_CurrentBalance"> | |
137 <property name="text"> | |
138 <string>Nykyinen tase:</string> | |
139 </property> | |
140 </widget> | |
141 </item> | |
142 <item> | |
143 <widget class="QLabel" name="label_BalanceValue"> | |
144 <property name="text"> | |
145 <string>12345</string> | |
146 </property> | |
147 <property name="alignment"> | |
148 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
149 </property> | |
150 </widget> | |
151 </item> | |
152 <item> | |
153 <widget class="QLabel" name="label_EUR"> | |
154 <property name="text"> | |
155 <string>EUR</string> | |
156 </property> | |
157 <property name="alignment"> | |
158 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
159 </property> | |
160 </widget> | |
161 </item> | |
162 </layout> | |
163 </item> | |
164 <item> | |
165 <widget class="Line" name="line_2"> | |
166 <property name="lineWidth"> | |
167 <number>4</number> | |
168 </property> | |
169 <property name="orientation"> | |
170 <enum>Qt::Horizontal</enum> | |
171 </property> | |
172 </widget> | |
173 </item> | |
174 <item> | |
175 <widget class="QLineEdit" name="edit_Amount"> | |
176 <property name="text"> | |
177 <string/> | |
178 </property> | |
179 <property name="alignment"> | |
180 <set>Qt::AlignCenter</set> | |
181 </property> | |
182 </widget> | |
183 </item> | |
184 <item> | |
185 <layout class="QHBoxLayout" name="horizontalLayout_5"> | |
186 <item> | |
187 <widget class="QPushButton" name="button_AddDebt"> | |
188 <property name="text"> | |
189 <string>Lisää velkaa</string> | |
190 </property> | |
191 </widget> | |
192 </item> | |
193 <item> | |
194 <widget class="QPushButton" name="button_PayDebt"> | |
195 <property name="text"> | |
196 <string>Maksa velkaa</string> | |
197 </property> | |
198 </widget> | |
199 </item> | |
200 </layout> | |
201 </item> | |
202 <item> | |
203 <widget class="QPushButton" name="button_PayFullDebt"> | |
204 <property name="text"> | |
205 <string>Maksa koko velka</string> | |
206 </property> | |
207 </widget> | |
208 </item> | |
209 <item> | |
210 <widget class="QLabel" name="label_2"> | |
211 <property name="text"> | |
212 <string>Viimeisimmät tapahtumat:</string> | |
213 </property> | |
214 </widget> | |
215 </item> | |
216 <item> | |
217 <widget class="QTableView" name="tableview_Latest"> | |
218 <property name="selectionMode"> | |
219 <enum>QAbstractItemView::SingleSelection</enum> | |
220 </property> | |
221 <property name="selectionBehavior"> | |
222 <enum>QAbstractItemView::SelectRows</enum> | |
223 </property> | |
224 </widget> | |
225 </item> | |
226 </layout> | |
227 </widget> | |
228 </item> | |
229 <item> | |
230 <widget class="QLabel" name="button_LogoImage"> | |
231 <property name="sizePolicy"> | |
232 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> | |
233 <horstretch>0</horstretch> | |
234 <verstretch>0</verstretch> | |
235 </sizepolicy> | |
236 </property> | |
237 <property name="text"> | |
238 <string/> | |
239 </property> | |
240 </widget> | |
241 </item> | |
242 <item> | |
243 <layout class="QHBoxLayout" name="horizontalLayout_4"> | |
244 <property name="sizeConstraint"> | |
245 <enum>QLayout::SetMinimumSize</enum> | |
246 </property> | |
247 <item> | |
248 <widget class="QPushButton" name="button_About"> | |
249 <property name="text"> | |
250 <string/> | |
251 </property> | |
252 <property name="icon"> | |
253 <iconset resource="resources.qrc"> | |
254 <normaloff>:/img/icon-64.png</normaloff>:/img/icon-64.png</iconset> | |
255 </property> | |
256 <property name="iconSize"> | |
257 <size> | |
258 <width>32</width> | |
259 <height>32</height> | |
260 </size> | |
261 </property> | |
262 </widget> | |
263 </item> | |
264 <item> | |
265 <widget class="QPushButton" name="button_Help"> | |
266 <property name="text"> | |
267 <string>?</string> | |
268 </property> | |
269 </widget> | |
270 </item> | |
271 <item> | |
272 <spacer name="horizontalSpacer_2"> | |
273 <property name="orientation"> | |
274 <enum>Qt::Horizontal</enum> | |
275 </property> | |
276 <property name="sizeHint" stdset="0"> | |
277 <size> | |
278 <width>40</width> | |
279 <height>20</height> | |
280 </size> | |
281 </property> | |
282 </spacer> | |
283 </item> | |
284 <item> | |
285 <widget class="QPushButton" name="button_Quit"> | |
286 <property name="text"> | |
287 <string>Poistu ohjelmasta</string> | |
288 </property> | |
289 </widget> | |
290 </item> | |
291 </layout> | |
292 </item> | |
293 </layout> | |
294 </item> | |
295 </layout> | |
296 </widget> | |
297 <widget class="QStatusBar" name="statusbar"/> | |
298 </widget> | |
299 <tabstops> | |
300 <tabstop>edit_PersonFilter</tabstop> | |
301 <tabstop>button_ClearFilter</tabstop> | |
302 <tabstop>button_AddPerson</tabstop> | |
303 <tabstop>button_Quit</tabstop> | |
304 </tabstops> | |
305 <resources> | |
306 <include location="resources.qrc"/> | |
307 </resources> | |
308 <connections/> | |
309 </ui> |