decimaterToolbar.ui 10.2 KB
Newer Older
1
2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
Jan Möbius's avatar
 
Jan Möbius committed
3
 <class>DecimaterToolbar</class>
4
5
 <widget class="QWidget" name="DecimaterToolbar">
  <property name="geometry">
Jan Möbius's avatar
 
Jan Möbius committed
6
7
8
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>364</width>
10
    <height>290</height>
Jan Möbius's avatar
 
Jan Möbius committed
11
12
   </rect>
  </property>
13
  <property name="windowTitle">
Jan Möbius's avatar
 
Jan Möbius committed
14
15
   <string>Form</string>
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
Jan Möbius's avatar
 
Jan Möbius committed
17
   <item>
18
19
    <widget class="QGroupBox" name="groupBox_2">
     <property name="title">
Jan Möbius's avatar
 
Jan Möbius committed
20
21
      <string>Constraints</string>
     </property>
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <layout class="QGridLayout" name="gridLayout">
        <item row="0" column="0">
         <widget class="QCheckBox" name="cbDistance">
          <property name="text">
           <string>Distance</string>
          </property>
         </widget>
        </item>
        <item row="0" column="2">
         <widget class="QDoubleSpinBox" name="distance">
          <property name="decimals">
           <number>3</number>
          </property>
          <property name="maximum">
           <double>10000.000000000000000</double>
          </property>
          <property name="singleStep">
           <double>1.000000000000000</double>
          </property>
          <property name="value">
           <double>0.000000000000000</double>
          </property>
         </widget>
        </item>
        <item row="1" column="0">
         <widget class="QCheckBox" name="cbNormalDev">
          <property name="toolTip">
           <string>Restrict Normal Deviation</string>
          </property>
          <property name="statusTip">
           <string>Restrict Normal Deviation</string>
          </property>
          <property name="text">
           <string>Normal Dev.</string>
          </property>
59
60
61
          <property name="checked">
           <bool>true</bool>
          </property>
62
63
64
65
66
67
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QSlider" name="normalDeviationSlider">
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
Jan Möbius's avatar
 
Jan Möbius committed
68
p, li { white-space: pre-wrap; }
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Maximal normal deviation between &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;original normal and normals after &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;decimation step defined in degrees.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="statusTip">
           <string>Restrict Normal Deviation</string>
          </property>
          <property name="maximum">
           <number>180</number>
          </property>
          <property name="value">
           <number>10</number>
          </property>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item row="1" column="2">
         <widget class="QSpinBox" name="normalDeviation">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="toolTip">
           <string comment="Maximal normal deviation between original normal and normals after decimation step defined in degrees.">&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Maximal normal deviation between &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;original normal and normals after &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;decimation step defined in degrees.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="statusTip">
           <string>Restrict Normal deviation</string>
          </property>
          <property name="maximum">
           <number>180</number>
          </property>
          <property name="value">
           <number>10</number>
          </property>
         </widget>
        </item>
        <item row="2" column="0">
         <widget class="QCheckBox" name="cbRoundness">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="text">
           <string>Roundness</string>
          </property>
          <property name="checkable">
           <bool>true</bool>
          </property>
          <property name="checked">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="QSlider" name="roundnessSlider">
          <property name="maximum">
           <number>100</number>
          </property>
          <property name="value">
           <number>50</number>
          </property>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item row="2" column="2">
         <widget class="QDoubleSpinBox" name="roundness">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="decimals">
           <number>2</number>
          </property>
          <property name="maximum">
           <double>1.000000000000000</double>
          </property>
          <property name="singleStep">
           <double>0.010000000000000</double>
          </property>
          <property name="value">
           <double>0.500000000000000</double>
          </property>
         </widget>
        </item>
        <item row="3" column="0">
         <widget class="QCheckBox" name="cbVertices">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="text">
           <string>#Vertices</string>
          </property>
         </widget>
        </item>
        <item row="3" column="1">
         <widget class="QSlider" name="verticesCountSlider">
          <property name="maximum">
           <number>100000</number>
          </property>
          <property name="value">
           <number>5000</number>
          </property>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
        <item row="3" column="2">
         <widget class="QSpinBox" name="verticesCount">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="maximum">
           <number>99999</number>
          </property>
          <property name="value">
           <number>5000</number>
          </property>
         </widget>
        </item>
       </layout>
Jan Möbius's avatar
 
Jan Möbius committed
197
      </item>
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <widget class="QLabel" name="label_3">
          <property name="text">
           <string>Current number of vertices:</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="currentNumVertices">
          <property name="font">
           <font>
            <weight>75</weight>
            <bold>true</bold>
           </font>
          </property>
          <property name="text">
           <string>&lt;not available&gt;</string>
          </property>
         </widget>
        </item>
       </layout>
Jan Möbius's avatar
 
Jan Möbius committed
221
      </item>
222
223
224
      <item>
       <widget class="QPushButton" name="pbDecimate">
        <property name="enabled">
Jan Möbius's avatar
 
Jan Möbius committed
225
226
         <bool>true</bool>
        </property>
227
228
        <property name="text">
         <string>Decimate</string>
Jan Möbius's avatar
 
Jan Möbius committed
229
230
231
232
233
234
235
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
236
237
238
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
Jan Möbius's avatar
 
Jan Möbius committed
239
     </property>
240
241
242
243
244
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
Jan Möbius's avatar
 
Jan Möbius committed
245
     </property>
246
    </spacer>
Jan Möbius's avatar
 
Jan Möbius committed
247
248
249
   </item>
  </layout>
 </widget>
250
 <layoutdefault spacing="6" margin="11"/>
Jan Möbius's avatar
 
Jan Möbius committed
251
 <resources/>
Dirk Wilden's avatar
Dirk Wilden committed
252
253
254
255
256
257
258
 <connections>
  <connection>
   <sender>normalDeviationSlider</sender>
   <signal>valueChanged(int)</signal>
   <receiver>normalDeviation</receiver>
   <slot>setValue(int)</slot>
   <hints>
259
    <hint type="sourcelabel">
Dirk Wilden's avatar
Dirk Wilden committed
260
261
262
     <x>179</x>
     <y>71</y>
    </hint>
263
    <hint type="destinationlabel">
Dirk Wilden's avatar
Dirk Wilden committed
264
265
266
267
268
269
270
271
272
273
274
     <x>258</x>
     <y>76</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>normalDeviation</sender>
   <signal>valueChanged(int)</signal>
   <receiver>normalDeviationSlider</receiver>
   <slot>setValue(int)</slot>
   <hints>
275
    <hint type="sourcelabel">
Dirk Wilden's avatar
Dirk Wilden committed
276
277
278
     <x>232</x>
     <y>81</y>
    </hint>
279
    <hint type="destinationlabel">
Dirk Wilden's avatar
Dirk Wilden committed
280
281
282
283
284
285
     <x>189</x>
     <y>82</y>
    </hint>
   </hints>
  </connection>
  <connection>
286
   <sender>verticesCountSlider</sender>
Dirk Wilden's avatar
Dirk Wilden committed
287
   <signal>valueChanged(int)</signal>
288
   <receiver>verticesCount</receiver>
Dirk Wilden's avatar
Dirk Wilden committed
289
290
   <slot>setValue(int)</slot>
   <hints>
291
    <hint type="sourcelabel">
Dirk Wilden's avatar
Dirk Wilden committed
292
293
294
     <x>190</x>
     <y>137</y>
    </hint>
295
    <hint type="destinationlabel">
Dirk Wilden's avatar
Dirk Wilden committed
296
297
298
299
300
301
     <x>261</x>
     <y>141</y>
    </hint>
   </hints>
  </connection>
  <connection>
302
   <sender>verticesCount</sender>
Dirk Wilden's avatar
Dirk Wilden committed
303
   <signal>valueChanged(int)</signal>
304
   <receiver>verticesCountSlider</receiver>
Dirk Wilden's avatar
Dirk Wilden committed
305
306
   <slot>setValue(int)</slot>
   <hints>
307
    <hint type="sourcelabel">
Dirk Wilden's avatar
Dirk Wilden committed
308
309
310
     <x>232</x>
     <y>133</y>
    </hint>
311
    <hint type="destinationlabel">
Dirk Wilden's avatar
Dirk Wilden committed
312
313
314
315
316
317
     <x>192</x>
     <y>133</y>
    </hint>
   </hints>
  </connection>
 </connections>
Jan Möbius's avatar
 
Jan Möbius committed
318
</ui>