src/dialogs/subfilereferenceeditor.ui

changeset 1297
389516787a4c
child 1386
c59dac18b06b
equal deleted inserted replaced
1296:aee618d087ff 1297:389516787a4c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SubfileReferenceEditor</class>
4 <widget class="QDialog" name="SubfileReferenceEditor">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>625</width>
10 <height>642</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Dialog</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0">
17 <item>
18 <widget class="QTreeView" name="primitivesTreeView"/>
19 </item>
20 <item>
21 <layout class="QFormLayout" name="formLayout">
22 <item row="0" column="0">
23 <widget class="QLabel" name="label">
24 <property name="text">
25 <string>Name of subfile:</string>
26 </property>
27 </widget>
28 </item>
29 <item row="0" column="1">
30 <widget class="QLineEdit" name="referenceName"/>
31 </item>
32 <item row="1" column="0">
33 <widget class="QLabel" name="label_4">
34 <property name="text">
35 <string>Colour:</string>
36 </property>
37 </widget>
38 </item>
39 <item row="1" column="1">
40 <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="3,10">
41 <item>
42 <widget class="QPushButton" name="colorButton">
43 <property name="text">
44 <string/>
45 </property>
46 </widget>
47 </item>
48 <item>
49 <spacer name="horizontalSpacer">
50 <property name="orientation">
51 <enum>Qt::Horizontal</enum>
52 </property>
53 <property name="sizeHint" stdset="0">
54 <size>
55 <width>40</width>
56 <height>20</height>
57 </size>
58 </property>
59 </spacer>
60 </item>
61 </layout>
62 </item>
63 <item row="2" column="0">
64 <widget class="QLabel" name="label_2">
65 <property name="text">
66 <string>Position:</string>
67 </property>
68 </widget>
69 </item>
70 <item row="2" column="1">
71 <layout class="QHBoxLayout" name="horizontalLayout">
72 <item>
73 <widget class="QDoubleSpinBox" name="positionX">
74 <property name="decimals">
75 <number>5</number>
76 </property>
77 <property name="minimum">
78 <double>-10000.000000000000000</double>
79 </property>
80 <property name="maximum">
81 <double>10000.000000000000000</double>
82 </property>
83 </widget>
84 </item>
85 <item>
86 <widget class="QDoubleSpinBox" name="positionY">
87 <property name="decimals">
88 <number>5</number>
89 </property>
90 <property name="minimum">
91 <double>-10000.000000000000000</double>
92 </property>
93 <property name="maximum">
94 <double>10000.000000000000000</double>
95 </property>
96 </widget>
97 </item>
98 <item>
99 <widget class="QDoubleSpinBox" name="positionZ">
100 <property name="decimals">
101 <number>5</number>
102 </property>
103 <property name="minimum">
104 <double>-10000.000000000000000</double>
105 </property>
106 <property name="maximum">
107 <double>10000.000000000000000</double>
108 </property>
109 </widget>
110 </item>
111 </layout>
112 </item>
113 <item row="4" column="0">
114 <widget class="QLabel" name="label_3">
115 <property name="text">
116 <string>Transformation matrix:</string>
117 </property>
118 </widget>
119 </item>
120 <item row="4" column="1">
121 <layout class="QGridLayout" name="matrixLayout">
122 <item row="1" column="1">
123 <widget class="QDoubleSpinBox" name="matrixE">
124 <property name="decimals">
125 <number>5</number>
126 </property>
127 <property name="minimum">
128 <double>-10000.000000000000000</double>
129 </property>
130 <property name="maximum">
131 <double>10000.000000000000000</double>
132 </property>
133 </widget>
134 </item>
135 <item row="0" column="0">
136 <widget class="QDoubleSpinBox" name="matrixA">
137 <property name="decimals">
138 <number>5</number>
139 </property>
140 <property name="minimum">
141 <double>-10000.000000000000000</double>
142 </property>
143 <property name="maximum">
144 <double>10000.000000000000000</double>
145 </property>
146 </widget>
147 </item>
148 <item row="2" column="0">
149 <widget class="QDoubleSpinBox" name="matrixG">
150 <property name="decimals">
151 <number>5</number>
152 </property>
153 <property name="minimum">
154 <double>-10000.000000000000000</double>
155 </property>
156 <property name="maximum">
157 <double>10000.000000000000000</double>
158 </property>
159 </widget>
160 </item>
161 <item row="2" column="1">
162 <widget class="QDoubleSpinBox" name="matrixH">
163 <property name="decimals">
164 <number>5</number>
165 </property>
166 <property name="minimum">
167 <double>-10000.000000000000000</double>
168 </property>
169 <property name="maximum">
170 <double>10000.000000000000000</double>
171 </property>
172 </widget>
173 </item>
174 <item row="2" column="2">
175 <widget class="QDoubleSpinBox" name="matrixI">
176 <property name="decimals">
177 <number>5</number>
178 </property>
179 <property name="minimum">
180 <double>-10000.000000000000000</double>
181 </property>
182 <property name="maximum">
183 <double>10000.000000000000000</double>
184 </property>
185 </widget>
186 </item>
187 <item row="1" column="2">
188 <widget class="QDoubleSpinBox" name="matrixF">
189 <property name="decimals">
190 <number>5</number>
191 </property>
192 <property name="minimum">
193 <double>-10000.000000000000000</double>
194 </property>
195 <property name="maximum">
196 <double>10000.000000000000000</double>
197 </property>
198 </widget>
199 </item>
200 <item row="0" column="2">
201 <widget class="QDoubleSpinBox" name="matrixC">
202 <property name="decimals">
203 <number>5</number>
204 </property>
205 <property name="minimum">
206 <double>-10000.000000000000000</double>
207 </property>
208 <property name="maximum">
209 <double>10000.000000000000000</double>
210 </property>
211 </widget>
212 </item>
213 <item row="1" column="0">
214 <widget class="QDoubleSpinBox" name="matrixD">
215 <property name="decimals">
216 <number>5</number>
217 </property>
218 <property name="minimum">
219 <double>-10000.000000000000000</double>
220 </property>
221 <property name="maximum">
222 <double>10000.000000000000000</double>
223 </property>
224 </widget>
225 </item>
226 <item row="0" column="1">
227 <widget class="QDoubleSpinBox" name="matrixB">
228 <property name="decimals">
229 <number>5</number>
230 </property>
231 <property name="minimum">
232 <double>-10000.000000000000000</double>
233 </property>
234 <property name="maximum">
235 <double>10000.000000000000000</double>
236 </property>
237 </widget>
238 </item>
239 </layout>
240 </item>
241 <item row="3" column="1">
242 <widget class="Line" name="line">
243 <property name="orientation">
244 <enum>Qt::Horizontal</enum>
245 </property>
246 </widget>
247 </item>
248 </layout>
249 </item>
250 <item>
251 <widget class="QDialogButtonBox" name="buttonBox">
252 <property name="orientation">
253 <enum>Qt::Horizontal</enum>
254 </property>
255 <property name="standardButtons">
256 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
257 </property>
258 </widget>
259 </item>
260 </layout>
261 </widget>
262 <resources/>
263 <connections>
264 <connection>
265 <sender>buttonBox</sender>
266 <signal>accepted()</signal>
267 <receiver>SubfileReferenceEditor</receiver>
268 <slot>accept()</slot>
269 <hints>
270 <hint type="sourcelabel">
271 <x>248</x>
272 <y>254</y>
273 </hint>
274 <hint type="destinationlabel">
275 <x>157</x>
276 <y>274</y>
277 </hint>
278 </hints>
279 </connection>
280 <connection>
281 <sender>buttonBox</sender>
282 <signal>rejected()</signal>
283 <receiver>SubfileReferenceEditor</receiver>
284 <slot>reject()</slot>
285 <hints>
286 <hint type="sourcelabel">
287 <x>316</x>
288 <y>260</y>
289 </hint>
290 <hint type="destinationlabel">
291 <x>286</x>
292 <y>274</y>
293 </hint>
294 </hints>
295 </connection>
296 </connections>
297 </ui>

mercurial