File: userprefs-import1.ui

package info (click to toggle)
freecad 0.14.3702+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 162,288 kB
  • ctags: 78,057
  • sloc: cpp: 360,157; python: 199,755; xml: 7,653; fortran: 3,878; ansic: 702; lex: 204; yacc: 91; sh: 41; makefile: 18
file content (515 lines) | stat: -rw-r--r-- 17,943 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
59
60
61
62
63
64
65
66
67
68
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Gui::Dialog::DlgSettingsDraft</class>
 <widget class="QWidget" name="Gui::Dialog::DlgSettingsDraft">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>505</width>
    <height>543</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>DXF / DWG options</string>
  </property>
  <layout class="QVBoxLayout">
   <property name="spacing">
    <number>6</number>
   </property>
   <property name="margin">
    <number>9</number>
   </property>
   <item>
     <widget class="QGroupBox" name="groupBox_2">
     <property name="title">
      <string>Automatic update</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_9">
        <item>
         <widget class="Gui::PrefCheckBox" name="checkBox_3">
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;By checking this, you will allow FreeCAD to download and update the&lt;/p&gt;&lt;p&gt;components needed for DXF import and export. You can also do that&lt;/p&gt;&lt;p&gt;manually, by visiting https://github.com/yorikvanhavre/Draft-dxf-importer&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
          <property name="text">
           <string>Allow FreeCAD to automatically download and update the DXF libraries</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfAllowDownload</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="GroupBox12">
     <property name="title">
      <string>DXF format options</string>
     </property>
     <layout class="QVBoxLayout">
      <property name="spacing">
       <number>6</number>
      </property>
      <property name="margin">
       <number>9</number>
      </property>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_7">
        <item>
         <widget class="QLabel" name="label_3">
          <property name="text">
           <string>Import</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_2">
          <property name="toolTip">
           <string>if this is unchecked, texts/mtexts won't be imported</string>
          </property>
          <property name="text">
           <string>texts and dimensions</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxftext</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_13">
          <property name="text">
           <string>points</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfImportPoints</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_3">
          <property name="toolTip">
           <string>if this is checked, paper space objects will be imported too</string>
          </property>
          <property name="text">
           <string>layouts</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxflayout</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_7">
          <property name="toolTip">
           <string>Check this if you want the non-named blocks (beginning with a *) to be imported too</string>
          </property>
          <property name="text">
           <string>*blocks</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfstarblocks</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_15">
        <item>
         <widget class="QLabel" name="label">
          <property name="text">
           <string>Create</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefRadioButton" name="radioButton">
          <property name="toolTip">
           <string>If this is checked, only standard Part objects will be created (fastest)</string>
          </property>
          <property name="text">
           <string>simple Part shapes</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfCreatePart</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefRadioButton" name="radioButton_2">
          <property name="toolTip">
           <string>If this is checked, parametric Draft objects will be created whenever possible</string>
          </property>
          <property name="text">
           <string>Draft objects</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfCreateDraft</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefRadioButton" name="radioButton_3">
          <property name="toolTip">
           <string>If this is checked, sketches will be created whenever possible</string>
          </property>
          <property name="text">
           <string>Sketches</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfCreateSketch</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <widget class="Gui::PrefCheckBox" name="checkBox_2">
          <property name="toolTip">
           <string>If this is checked, colors will be retrieved from the DXF objects whenever possible. Otherwise default colors will be applied.</string>
          </property>
          <property name="text">
           <string>Get original colors from the DXF file</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfGetOriginalColors</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_5">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_9">
          <property name="toolTip">
           <string>If checked, freecad will try to joint coincident objects into wires. Beware, this can take a while...</string>
          </property>
          <property name="text">
           <string>Join geometry</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>joingeometry</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_8">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_5">
          <property name="toolTip">
           <string>if this is checked, objects from the same layers will be joined into Draft Blocks, turning the display faster, but making them less easily editable</string>
          </property>
          <property name="text">
           <string>Group layers into blocks</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>groupLayers</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_6">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox">
          <property name="toolTip">
           <string>If this is checked, all objects containing faces will be exported as 3d polyfaces</string>
          </property>
          <property name="text">
           <string>Export 3D objects as polyface meshes</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfmesh</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_14">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_12">
          <property name="toolTip">
           <string>If this is checked, the exported objects will be projected to reflect the current view direction</string>
          </property>
          <property name="text">
           <string>Project exported objects along current view direction</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfproject</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_11">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_8">
          <property name="toolTip">
           <string>If this is checked, imported texts will get the standard Draft text size, instead of the size they have in the DXF document</string>
          </property>
          <property name="text">
           <string>Use standard font size for texts</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfStdSize</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_3">
        <item>
         <widget class="Gui::PrefCheckBox" name="checkBox">
          <property name="toolTip">
           <string>If this is checked, DXF layers will be imported as Draft VisGroups</string>
          </property>
          <property name="text">
           <string>Use VisGroups</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>dxfUseDraftVisGroups</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_12">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_10">
          <property name="toolTip">
           <string>If this is checked, hatches will be converted into simple wires</string>
          </property>
          <property name="text">
           <string>Import hatch boundaries as wires</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>importDxfHatches</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_13">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_11">
          <property name="toolTip">
           <string>If this is checked, when polylines have a width defined, they will be rendered as closed wires with the correct width</string>
          </property>
          <property name="text">
           <string>Render polylines with width</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>renderPolylineWidth</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_2">
        <item>
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_14">
          <property name="toolTip">
           <string>Ellipse export is badly supported. Use this to export them as polylines instead.</string>
          </property>
          <property name="text">
           <string>Treat ellipses and splines as polylines</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>DiscretizeEllipses</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_7">
          <property name="text">
           <string>Max Spline Segment: </string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefSpinBox" name="gui::prefspinbox_2">
          <property name="maximumSize">
           <size>
            <width>60</width>
            <height>16777215</height>
           </size>
          </property>
          <property name="toolTip">
           <string>When exporting splines to DXF, they are transformed in polylines. This value is the maximum length of each of the polyline segments. If 0, then the whole spline is treated as a straight segment.</string>
          </property>
          <property name="value">
           <number>5</number>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>maxsplinesegment</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>DWG format options</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_4">
        <item>
         <widget class="QLabel" name="label_4">
          <property name="text">
           <string>Path to Teigha File Converter</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefFileChooser" name="gui::preffilechooser_2">
          <property name="toolTip">
           <string>The path to your Teigha File Converter executable</string>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>TeighaFileConverter</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Draft</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
 <customwidgets>
  <customwidget>
   <class>Gui::FileChooser</class>
   <extends>QWidget</extends>
   <header>Gui/FileDialog.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefFileChooser</class>
   <extends>Gui::FileChooser</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefSpinBox</class>
   <extends>QSpinBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefRadioButton</class>
   <extends>QRadioButton</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefCheckBox</class>
   <extends>QCheckBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>