1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>OverlayUI</class> |
|
4 <widget class="QDialog" name="OverlayUI"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>299</width> |
|
10 <height>277</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Set Overlay</string> |
|
15 </property> |
|
16 <property name="windowIcon"> |
|
17 <iconset resource="../ldforge.qrc"> |
|
18 <normaloff>:/icons/overlay.png</normaloff>:/icons/overlay.png</iconset> |
|
19 </property> |
|
20 <layout class="QVBoxLayout" name="verticalLayout"> |
|
21 <item> |
|
22 <widget class="QGroupBox" name="groupBox_2"> |
|
23 <property name="title"> |
|
24 <string>Camera</string> |
|
25 </property> |
|
26 <layout class="QGridLayout" name="gridLayout"> |
|
27 <item row="0" column="0"> |
|
28 <widget class="QRadioButton" name="top"> |
|
29 <property name="text"> |
|
30 <string>Top</string> |
|
31 </property> |
|
32 <property name="icon"> |
|
33 <iconset resource="../ldforge.qrc"> |
|
34 <normaloff>:/icons/camera-top.png</normaloff>:/icons/camera-top.png</iconset> |
|
35 </property> |
|
36 </widget> |
|
37 </item> |
|
38 <item row="0" column="1"> |
|
39 <widget class="QRadioButton" name="front"> |
|
40 <property name="text"> |
|
41 <string>Front</string> |
|
42 </property> |
|
43 <property name="icon"> |
|
44 <iconset resource="../ldforge.qrc"> |
|
45 <normaloff>:/icons/camera-front.png</normaloff>:/icons/camera-front.png</iconset> |
|
46 </property> |
|
47 </widget> |
|
48 </item> |
|
49 <item row="0" column="2"> |
|
50 <widget class="QRadioButton" name="left"> |
|
51 <property name="text"> |
|
52 <string>Left</string> |
|
53 </property> |
|
54 <property name="icon"> |
|
55 <iconset resource="../ldforge.qrc"> |
|
56 <normaloff>:/icons/camera-left.png</normaloff>:/icons/camera-left.png</iconset> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item row="1" column="0"> |
|
61 <widget class="QRadioButton" name="bottom"> |
|
62 <property name="text"> |
|
63 <string>Bottom</string> |
|
64 </property> |
|
65 <property name="icon"> |
|
66 <iconset resource="../ldforge.qrc"> |
|
67 <normaloff>:/icons/camera-bottom.png</normaloff>:/icons/camera-bottom.png</iconset> |
|
68 </property> |
|
69 </widget> |
|
70 </item> |
|
71 <item row="1" column="1"> |
|
72 <widget class="QRadioButton" name="back"> |
|
73 <property name="text"> |
|
74 <string>Back</string> |
|
75 </property> |
|
76 <property name="icon"> |
|
77 <iconset resource="../ldforge.qrc"> |
|
78 <normaloff>:/icons/camera-back.png</normaloff>:/icons/camera-back.png</iconset> |
|
79 </property> |
|
80 </widget> |
|
81 </item> |
|
82 <item row="1" column="2"> |
|
83 <widget class="QRadioButton" name="right"> |
|
84 <property name="text"> |
|
85 <string>Right</string> |
|
86 </property> |
|
87 <property name="icon"> |
|
88 <iconset resource="../ldforge.qrc"> |
|
89 <normaloff>:/icons/camera-right.png</normaloff>:/icons/camera-right.png</iconset> |
|
90 </property> |
|
91 </widget> |
|
92 </item> |
|
93 </layout> |
|
94 </widget> |
|
95 </item> |
|
96 <item> |
|
97 <widget class="QGroupBox" name="groupBox"> |
|
98 <property name="title"> |
|
99 <string>Image</string> |
|
100 </property> |
|
101 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
102 <item> |
|
103 <layout class="QFormLayout" name="formLayout"> |
|
104 <property name="fieldGrowthPolicy"> |
|
105 <enum>QFormLayout::ExpandingFieldsGrow</enum> |
|
106 </property> |
|
107 <item row="0" column="0"> |
|
108 <widget class="QLabel" name="label"> |
|
109 <property name="text"> |
|
110 <string>File:</string> |
|
111 </property> |
|
112 </widget> |
|
113 </item> |
|
114 <item row="0" column="1"> |
|
115 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
116 <item> |
|
117 <widget class="QLineEdit" name="filename"/> |
|
118 </item> |
|
119 <item> |
|
120 <widget class="QPushButton" name="fileSearchButton"> |
|
121 <property name="text"> |
|
122 <string/> |
|
123 </property> |
|
124 <property name="icon"> |
|
125 <iconset resource="../ldforge.qrc"> |
|
126 <normaloff>:/icons/file-open.png</normaloff>:/icons/file-open.png</iconset> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 </layout> |
|
131 </item> |
|
132 <item row="1" column="0"> |
|
133 <widget class="QLabel" name="label_2"> |
|
134 <property name="text"> |
|
135 <string>Origin:</string> |
|
136 </property> |
|
137 </widget> |
|
138 </item> |
|
139 <item row="1" column="1"> |
|
140 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
141 <item> |
|
142 <widget class="QSpinBox" name="originX"> |
|
143 <property name="minimumSize"> |
|
144 <size> |
|
145 <width>80</width> |
|
146 <height>0</height> |
|
147 </size> |
|
148 </property> |
|
149 <property name="suffix"> |
|
150 <string> px</string> |
|
151 </property> |
|
152 <property name="prefix"> |
|
153 <string/> |
|
154 </property> |
|
155 <property name="maximum"> |
|
156 <number>10000</number> |
|
157 </property> |
|
158 </widget> |
|
159 </item> |
|
160 <item> |
|
161 <widget class="QSpinBox" name="originY"> |
|
162 <property name="minimumSize"> |
|
163 <size> |
|
164 <width>80</width> |
|
165 <height>0</height> |
|
166 </size> |
|
167 </property> |
|
168 <property name="suffix"> |
|
169 <string> px</string> |
|
170 </property> |
|
171 <property name="maximum"> |
|
172 <number>10000</number> |
|
173 </property> |
|
174 </widget> |
|
175 </item> |
|
176 </layout> |
|
177 </item> |
|
178 <item row="2" column="0"> |
|
179 <widget class="QLabel" name="label_3"> |
|
180 <property name="text"> |
|
181 <string>Dimensions:</string> |
|
182 </property> |
|
183 </widget> |
|
184 </item> |
|
185 <item row="2" column="1"> |
|
186 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
187 <item> |
|
188 <widget class="QDoubleSpinBox" name="width"> |
|
189 <property name="minimumSize"> |
|
190 <size> |
|
191 <width>80</width> |
|
192 <height>0</height> |
|
193 </size> |
|
194 </property> |
|
195 <property name="suffix"> |
|
196 <string> LDU</string> |
|
197 </property> |
|
198 <property name="maximum"> |
|
199 <double>10000.000000000000000</double> |
|
200 </property> |
|
201 </widget> |
|
202 </item> |
|
203 <item> |
|
204 <widget class="QDoubleSpinBox" name="height"> |
|
205 <property name="minimumSize"> |
|
206 <size> |
|
207 <width>80</width> |
|
208 <height>0</height> |
|
209 </size> |
|
210 </property> |
|
211 <property name="suffix"> |
|
212 <string> LDU</string> |
|
213 </property> |
|
214 <property name="minimum"> |
|
215 <double>0.000000000000000</double> |
|
216 </property> |
|
217 <property name="maximum"> |
|
218 <double>10000.000000000000000</double> |
|
219 </property> |
|
220 </widget> |
|
221 </item> |
|
222 </layout> |
|
223 </item> |
|
224 </layout> |
|
225 </item> |
|
226 </layout> |
|
227 </widget> |
|
228 </item> |
|
229 <item> |
|
230 <widget class="QDialogButtonBox" name="buttonBox"> |
|
231 <property name="orientation"> |
|
232 <enum>Qt::Horizontal</enum> |
|
233 </property> |
|
234 <property name="standardButtons"> |
|
235 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> |
|
236 </property> |
|
237 </widget> |
|
238 </item> |
|
239 </layout> |
|
240 </widget> |
|
241 <resources> |
|
242 <include location="../ldforge.qrc"/> |
|
243 </resources> |
|
244 <connections> |
|
245 <connection> |
|
246 <sender>buttonBox</sender> |
|
247 <signal>accepted()</signal> |
|
248 <receiver>OverlayUI</receiver> |
|
249 <slot>accept()</slot> |
|
250 <hints> |
|
251 <hint type="sourcelabel"> |
|
252 <x>248</x> |
|
253 <y>254</y> |
|
254 </hint> |
|
255 <hint type="destinationlabel"> |
|
256 <x>157</x> |
|
257 <y>274</y> |
|
258 </hint> |
|
259 </hints> |
|
260 </connection> |
|
261 <connection> |
|
262 <sender>buttonBox</sender> |
|
263 <signal>rejected()</signal> |
|
264 <receiver>OverlayUI</receiver> |
|
265 <slot>reject()</slot> |
|
266 <hints> |
|
267 <hint type="sourcelabel"> |
|
268 <x>316</x> |
|
269 <y>260</y> |
|
270 </hint> |
|
271 <hint type="destinationlabel"> |
|
272 <x>286</x> |
|
273 <y>274</y> |
|
274 </hint> |
|
275 </hints> |
|
276 </connection> |
|
277 </connections> |
|
278 </ui> |
|