ui/replcoords.ui

changeset 932
738673e8a6b4
parent 931
85080f7a1c20
child 933
f4c80d92e71e
equal deleted inserted replaced
931:85080f7a1c20 932:738673e8a6b4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ReplaceCoordsUI</class>
4 <widget class="QDialog" name="ReplaceCoordsUI">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>239</width>
10 <height>153</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Replace Coordinates</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QGroupBox" name="groupBox">
19 <property name="title">
20 <string>Axes</string>
21 </property>
22 <layout class="QHBoxLayout" name="horizontalLayout_4">
23 <item>
24 <widget class="QCheckBox" name="x">
25 <property name="whatsThis">
26 <string>Replace X coordinates.</string>
27 </property>
28 <property name="text">
29 <string>X</string>
30 </property>
31 </widget>
32 </item>
33 <item>
34 <widget class="QCheckBox" name="y">
35 <property name="whatsThis">
36 <string>Replace Y coordinates.</string>
37 </property>
38 <property name="text">
39 <string>Y</string>
40 </property>
41 </widget>
42 </item>
43 <item>
44 <widget class="QCheckBox" name="z">
45 <property name="whatsThis">
46 <string>Replace Z coordinates.</string>
47 </property>
48 <property name="text">
49 <string>Z</string>
50 </property>
51 </widget>
52 </item>
53 </layout>
54 </widget>
55 </item>
56 <item>
57 <layout class="QFormLayout" name="formLayout">
58 <property name="fieldGrowthPolicy">
59 <enum>QFormLayout::ExpandingFieldsGrow</enum>
60 </property>
61 <item row="0" column="0">
62 <widget class="QLabel" name="label">
63 <property name="text">
64 <string>Search:</string>
65 </property>
66 </widget>
67 </item>
68 <item row="0" column="1">
69 <layout class="QHBoxLayout" name="horizontalLayout_3">
70 <item>
71 <widget class="QDoubleSpinBox" name="search">
72 <property name="decimals">
73 <number>4</number>
74 </property>
75 <property name="minimum">
76 <double>-10000.000000000000000</double>
77 </property>
78 <property name="maximum">
79 <double>10000.000000000000000</double>
80 </property>
81 </widget>
82 </item>
83 <item>
84 <widget class="QCheckBox" name="any">
85 <property name="whatsThis">
86 <string>If this is checked, all of the coordinates of selected objects will be changed. If not, they have to match the search value.
87
88 Use this with the Relative option to offset objects, or without to project or flatten.</string>
89 </property>
90 <property name="text">
91 <string>Any</string>
92 </property>
93 </widget>
94 </item>
95 </layout>
96 </item>
97 <item row="1" column="0">
98 <widget class="QLabel" name="label_2">
99 <property name="text">
100 <string>Replace:</string>
101 </property>
102 </widget>
103 </item>
104 <item row="1" column="1">
105 <layout class="QHBoxLayout" name="horizontalLayout_2">
106 <item>
107 <widget class="QDoubleSpinBox" name="replacement">
108 <property name="decimals">
109 <number>4</number>
110 </property>
111 <property name="minimum">
112 <double>-10000.000000000000000</double>
113 </property>
114 <property name="maximum">
115 <double>10000.000000000000000</double>
116 </property>
117 </widget>
118 </item>
119 <item>
120 <widget class="QCheckBox" name="relative">
121 <property name="whatsThis">
122 <string>If this is set, the replace value is added to the coordinates, rather than replaced with.</string>
123 </property>
124 <property name="text">
125 <string>Relative</string>
126 </property>
127 </widget>
128 </item>
129 </layout>
130 </item>
131 </layout>
132 </item>
133 <item>
134 <widget class="QDialogButtonBox" name="buttonBox">
135 <property name="orientation">
136 <enum>Qt::Horizontal</enum>
137 </property>
138 <property name="standardButtons">
139 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
140 </property>
141 </widget>
142 </item>
143 </layout>
144 </widget>
145 <resources/>
146 <connections>
147 <connection>
148 <sender>buttonBox</sender>
149 <signal>accepted()</signal>
150 <receiver>ReplaceCoordsUI</receiver>
151 <slot>accept()</slot>
152 <hints>
153 <hint type="sourcelabel">
154 <x>224</x>
155 <y>128</y>
156 </hint>
157 <hint type="destinationlabel">
158 <x>157</x>
159 <y>144</y>
160 </hint>
161 </hints>
162 </connection>
163 <connection>
164 <sender>buttonBox</sender>
165 <signal>rejected()</signal>
166 <receiver>ReplaceCoordsUI</receiver>
167 <slot>reject()</slot>
168 <hints>
169 <hint type="sourcelabel">
170 <x>246</x>
171 <y>134</y>
172 </hint>
173 <hint type="destinationlabel">
174 <x>252</x>
175 <y>144</y>
176 </hint>
177 </hints>
178 </connection>
179 <connection>
180 <sender>any</sender>
181 <signal>clicked(bool)</signal>
182 <receiver>search</receiver>
183 <slot>setDisabled(bool)</slot>
184 <hints>
185 <hint type="sourcelabel">
186 <x>207</x>
187 <y>13</y>
188 </hint>
189 <hint type="destinationlabel">
190 <x>125</x>
191 <y>12</y>
192 </hint>
193 </hints>
194 </connection>
195 </connections>
196 </ui>

mercurial