|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <author>Michiel Broek</author> |
|
4 <class>EditSupplier</class> |
|
5 <widget class="QDialog" name="EditSupplier"> |
|
6 <property name="geometry"> |
|
7 <rect> |
|
8 <x>0</x> |
|
9 <y>0</y> |
|
10 <width>1024</width> |
|
11 <height>560</height> |
|
12 </rect> |
|
13 </property> |
|
14 <property name="windowTitle"> |
|
15 <string>Dialog</string> |
|
16 </property> |
|
17 <layout class="QVBoxLayout" name="verticalLayout"> |
|
18 <item> |
|
19 <widget class="QWidget" name="widget" native="true"> |
|
20 <layout class="QFormLayout" name="formLayout"> |
|
21 <item row="0" column="0"> |
|
22 <widget class="QLabel" name="nameLabel"> |
|
23 <property name="text"> |
|
24 <string>Name</string> |
|
25 </property> |
|
26 </widget> |
|
27 </item> |
|
28 <item row="0" column="1"> |
|
29 <widget class="QLineEdit" name="nameEdit"> |
|
30 <property name="maxLength"> |
|
31 <number>128</number> |
|
32 </property> |
|
33 <property name="placeholderText"> |
|
34 <string>Supplier name</string> |
|
35 </property> |
|
36 </widget> |
|
37 </item> |
|
38 <item row="1" column="0"> |
|
39 <widget class="QLabel" name="addressLabel"> |
|
40 <property name="text"> |
|
41 <string>Address</string> |
|
42 </property> |
|
43 </widget> |
|
44 </item> |
|
45 <item row="1" column="1"> |
|
46 <widget class="QLineEdit" name="addressEdit"> |
|
47 <property name="toolTip"> |
|
48 <string>The street and housenumber</string> |
|
49 </property> |
|
50 <property name="maxLength"> |
|
51 <number>128</number> |
|
52 </property> |
|
53 <property name="placeholderText"> |
|
54 <string>Address</string> |
|
55 </property> |
|
56 </widget> |
|
57 </item> |
|
58 <item row="2" column="0"> |
|
59 <widget class="QLabel" name="cityLabel"> |
|
60 <property name="text"> |
|
61 <string>City</string> |
|
62 </property> |
|
63 </widget> |
|
64 </item> |
|
65 <item row="2" column="1"> |
|
66 <widget class="QLineEdit" name="cityEdit"> |
|
67 <property name="maxLength"> |
|
68 <number>123</number> |
|
69 </property> |
|
70 <property name="placeholderText"> |
|
71 <string>City</string> |
|
72 </property> |
|
73 </widget> |
|
74 </item> |
|
75 <item row="3" column="0"> |
|
76 <widget class="QLabel" name="zipLabel"> |
|
77 <property name="text"> |
|
78 <string>Zip code</string> |
|
79 </property> |
|
80 </widget> |
|
81 </item> |
|
82 <item row="3" column="1"> |
|
83 <widget class="QLineEdit" name="zipEdit"> |
|
84 <property name="sizePolicy"> |
|
85 <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> |
|
86 <horstretch>0</horstretch> |
|
87 <verstretch>0</verstretch> |
|
88 </sizepolicy> |
|
89 </property> |
|
90 <property name="maxLength"> |
|
91 <number>16</number> |
|
92 </property> |
|
93 <property name="placeholderText"> |
|
94 <string>Zip code</string> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 <item row="4" column="0"> |
|
99 <widget class="QLabel" name="countryLabel"> |
|
100 <property name="text"> |
|
101 <string>Country</string> |
|
102 </property> |
|
103 </widget> |
|
104 </item> |
|
105 <item row="4" column="1"> |
|
106 <widget class="QLineEdit" name="countryEdit"> |
|
107 <property name="maxLength"> |
|
108 <number>128</number> |
|
109 </property> |
|
110 <property name="placeholderText"> |
|
111 <string>Country</string> |
|
112 </property> |
|
113 </widget> |
|
114 </item> |
|
115 <item row="5" column="0"> |
|
116 <widget class="QLabel" name="webLabel"> |
|
117 <property name="text"> |
|
118 <string>Website</string> |
|
119 </property> |
|
120 </widget> |
|
121 </item> |
|
122 <item row="5" column="1"> |
|
123 <widget class="QLineEdit" name="webEdit"> |
|
124 <property name="maxLength"> |
|
125 <number>128</number> |
|
126 </property> |
|
127 <property name="placeholderText"> |
|
128 <string>https://www.supplier.com</string> |
|
129 </property> |
|
130 </widget> |
|
131 </item> |
|
132 <item row="6" column="0"> |
|
133 <widget class="QLabel" name="emailLabel"> |
|
134 <property name="text"> |
|
135 <string>Email</string> |
|
136 </property> |
|
137 </widget> |
|
138 </item> |
|
139 <item row="6" column="1"> |
|
140 <widget class="QLineEdit" name="emailEdit"> |
|
141 <property name="maxLength"> |
|
142 <number>128</number> |
|
143 </property> |
|
144 <property name="placeholderText"> |
|
145 <string>sales@supplier.com</string> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 <item row="7" column="0"> |
|
150 <widget class="QLabel" name="phoneLabel"> |
|
151 <property name="text"> |
|
152 <string>Phone</string> |
|
153 </property> |
|
154 </widget> |
|
155 </item> |
|
156 <item row="7" column="1"> |
|
157 <widget class="QLineEdit" name="phoneEdit"> |
|
158 <property name="sizePolicy"> |
|
159 <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> |
|
160 <horstretch>0</horstretch> |
|
161 <verstretch>0</verstretch> |
|
162 </sizepolicy> |
|
163 </property> |
|
164 <property name="maxLength"> |
|
165 <number>20</number> |
|
166 </property> |
|
167 <property name="placeholderText"> |
|
168 <string>+31 123 45678</string> |
|
169 </property> |
|
170 </widget> |
|
171 </item> |
|
172 <item row="8" column="0"> |
|
173 <widget class="QLabel" name="notesLabel"> |
|
174 <property name="text"> |
|
175 <string>Notes</string> |
|
176 </property> |
|
177 </widget> |
|
178 </item> |
|
179 <item row="8" column="1"> |
|
180 <widget class="QTextEdit" name="notesEdit"> |
|
181 <property name="horizontalScrollBarPolicy"> |
|
182 <enum>Qt::ScrollBarAlwaysOff</enum> |
|
183 </property> |
|
184 <property name="placeholderText"> |
|
185 <string>Notes about this supplier</string> |
|
186 </property> |
|
187 </widget> |
|
188 </item> |
|
189 </layout> |
|
190 </widget> |
|
191 </item> |
|
192 <item> |
|
193 <widget class="QDialogButtonBox" name="buttonBox"> |
|
194 <property name="orientation"> |
|
195 <enum>Qt::Horizontal</enum> |
|
196 </property> |
|
197 <property name="standardButtons"> |
|
198 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
199 </property> |
|
200 <property name="centerButtons"> |
|
201 <bool>true</bool> |
|
202 </property> |
|
203 </widget> |
|
204 </item> |
|
205 </layout> |
|
206 </widget> |
|
207 <tabstops> |
|
208 <tabstop>nameEdit</tabstop> |
|
209 <tabstop>addressEdit</tabstop> |
|
210 <tabstop>cityEdit</tabstop> |
|
211 <tabstop>zipEdit</tabstop> |
|
212 <tabstop>countryEdit</tabstop> |
|
213 <tabstop>webEdit</tabstop> |
|
214 <tabstop>emailEdit</tabstop> |
|
215 <tabstop>phoneEdit</tabstop> |
|
216 <tabstop>notesEdit</tabstop> |
|
217 </tabstops> |
|
218 <resources/> |
|
219 <connections> |
|
220 <connection> |
|
221 <sender>buttonBox</sender> |
|
222 <signal>accepted()</signal> |
|
223 <receiver>EditSupplier</receiver> |
|
224 <slot>onOKButtonClicked()</slot> |
|
225 <hints> |
|
226 <hint type="sourcelabel"> |
|
227 <x>248</x> |
|
228 <y>254</y> |
|
229 </hint> |
|
230 <hint type="destinationlabel"> |
|
231 <x>157</x> |
|
232 <y>274</y> |
|
233 </hint> |
|
234 </hints> |
|
235 </connection> |
|
236 <connection> |
|
237 <sender>buttonBox</sender> |
|
238 <signal>rejected()</signal> |
|
239 <receiver>EditSupplier</receiver> |
|
240 <slot>onCancelButtonClicked()</slot> |
|
241 <hints> |
|
242 <hint type="sourcelabel"> |
|
243 <x>316</x> |
|
244 <y>260</y> |
|
245 </hint> |
|
246 <hint type="destinationlabel"> |
|
247 <x>286</x> |
|
248 <y>274</y> |
|
249 </hint> |
|
250 </hints> |
|
251 </connection> |
|
252 </connections> |
|
253 </ui> |