src/ui/rotpoint.ui

changeset 491
7d1b5ecd76c0
parent 486
25747c37c7be
child 492
e964085e6913
child 664
e3a32a79a10a
equal deleted inserted replaced
486:25747c37c7be 491:7d1b5ecd76c0
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>RotPointUI</class>
4 <widget class="QDialog" name="RotPointUI">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>178</width>
10 <height>267</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Set Rotation Point</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QGroupBox" name="groupBox_2">
19 <property name="title">
20 <string>Rotation Point</string>
21 </property>
22 <layout class="QVBoxLayout" name="verticalLayout_2">
23 <item>
24 <widget class="QRadioButton" name="objectPoint">
25 <property name="text">
26 <string>Object origin</string>
27 </property>
28 </widget>
29 </item>
30 <item>
31 <widget class="QRadioButton" name="worldPoint">
32 <property name="text">
33 <string>World origin (0, 0, 0)</string>
34 </property>
35 </widget>
36 </item>
37 <item>
38 <widget class="QRadioButton" name="customPoint">
39 <property name="text">
40 <string>Custom</string>
41 </property>
42 </widget>
43 </item>
44 </layout>
45 </widget>
46 </item>
47 <item>
48 <widget class="QGroupBox" name="groupBox">
49 <property name="enabled">
50 <bool>false</bool>
51 </property>
52 <property name="title">
53 <string>Custom Point</string>
54 </property>
55 <layout class="QFormLayout" name="formLayout">
56 <item row="0" column="1">
57 <widget class="QDoubleSpinBox" name="customX">
58 <property name="decimals">
59 <number>4</number>
60 </property>
61 <property name="minimum">
62 <double>-10000.000000000000000</double>
63 </property>
64 <property name="maximum">
65 <double>10000.000000000000000</double>
66 </property>
67 </widget>
68 </item>
69 <item row="1" column="1">
70 <widget class="QDoubleSpinBox" name="customY">
71 <property name="decimals">
72 <number>4</number>
73 </property>
74 <property name="minimum">
75 <double>-10000.000000000000000</double>
76 </property>
77 <property name="maximum">
78 <double>10000.000000000000000</double>
79 </property>
80 </widget>
81 </item>
82 <item row="0" column="0">
83 <widget class="QLabel" name="label">
84 <property name="text">
85 <string>X:</string>
86 </property>
87 </widget>
88 </item>
89 <item row="2" column="1">
90 <widget class="QDoubleSpinBox" name="customZ">
91 <property name="decimals">
92 <number>4</number>
93 </property>
94 <property name="minimum">
95 <double>-10000.000000000000000</double>
96 </property>
97 <property name="maximum">
98 <double>10000.000000000000000</double>
99 </property>
100 </widget>
101 </item>
102 <item row="1" column="0">
103 <widget class="QLabel" name="label_2">
104 <property name="text">
105 <string>Y:</string>
106 </property>
107 </widget>
108 </item>
109 <item row="2" column="0">
110 <widget class="QLabel" name="label_3">
111 <property name="text">
112 <string>Z:</string>
113 </property>
114 </widget>
115 </item>
116 </layout>
117 </widget>
118 </item>
119 <item>
120 <widget class="QDialogButtonBox" name="buttonBox">
121 <property name="orientation">
122 <enum>Qt::Horizontal</enum>
123 </property>
124 <property name="standardButtons">
125 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
126 </property>
127 </widget>
128 </item>
129 </layout>
130 </widget>
131 <resources/>
132 <connections>
133 <connection>
134 <sender>buttonBox</sender>
135 <signal>accepted()</signal>
136 <receiver>RotPointUI</receiver>
137 <slot>accept()</slot>
138 <hints>
139 <hint type="sourcelabel">
140 <x>171</x>
141 <y>250</y>
142 </hint>
143 <hint type="destinationlabel">
144 <x>157</x>
145 <y>266</y>
146 </hint>
147 </hints>
148 </connection>
149 <connection>
150 <sender>buttonBox</sender>
151 <signal>rejected()</signal>
152 <receiver>RotPointUI</receiver>
153 <slot>reject()</slot>
154 <hints>
155 <hint type="sourcelabel">
156 <x>171</x>
157 <y>256</y>
158 </hint>
159 <hint type="destinationlabel">
160 <x>177</x>
161 <y>266</y>
162 </hint>
163 </hints>
164 </connection>
165 <connection>
166 <sender>customPoint</sender>
167 <signal>clicked(bool)</signal>
168 <receiver>groupBox</receiver>
169 <slot>setEnabled(bool)</slot>
170 <hints>
171 <hint type="sourcelabel">
172 <x>46</x>
173 <y>85</y>
174 </hint>
175 <hint type="destinationlabel">
176 <x>136</x>
177 <y>131</y>
178 </hint>
179 </hints>
180 </connection>
181 <connection>
182 <sender>worldPoint</sender>
183 <signal>clicked(bool)</signal>
184 <receiver>groupBox</receiver>
185 <slot>setDisabled(bool)</slot>
186 <hints>
187 <hint type="sourcelabel">
188 <x>72</x>
189 <y>66</y>
190 </hint>
191 <hint type="destinationlabel">
192 <x>90</x>
193 <y>127</y>
194 </hint>
195 </hints>
196 </connection>
197 <connection>
198 <sender>objectPoint</sender>
199 <signal>clicked(bool)</signal>
200 <receiver>groupBox</receiver>
201 <slot>setDisabled(bool)</slot>
202 <hints>
203 <hint type="sourcelabel">
204 <x>36</x>
205 <y>45</y>
206 </hint>
207 <hint type="destinationlabel">
208 <x>23</x>
209 <y>129</y>
210 </hint>
211 </hints>
212 </connection>
213 </connections>
214 </ui>

mercurial