QT treats setting minimum size very seriously - it applies even if the size required by the control is smaller than specified resulting in rendering too small controls.
500 lines
17 KiB
XML
500 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TechDrawGui::DlgPrefsTechDrawAdvancedImp</class>
|
|
<widget class="QWidget" name="TechDrawGui::DlgPrefsTechDrawAdvancedImp">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>474</width>
|
|
<height>424</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Advanced</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="gbDim">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Advanced</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0,0">
|
|
<item row="2" column="2">
|
|
<widget class="Gui::PrefCheckBox" name="cbFuseBeforeSection">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Perform a fuse operation on input shape(s) before Section view processing</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Fuse Before Section</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>SectionFuseFirst</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="cbDebugSection">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Dump intermediate results during Section view processing</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Debug Section</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>debugSection</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/debug</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="2">
|
|
<widget class="Gui::PrefDoubleSpinBox" name="pdsbEdgeFuzz">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>174</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Size of selection area around edges
|
|
Each unit is approx. 0.1 mm wide</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="value">
|
|
<double>10.000000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>EdgeFuzz</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Edge Fuzz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="cbCrazyEdges">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Include edges with unexpected geometry (zero length etc.) in results</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Allow Crazy Edges</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>allowCrazyEdge</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/debug</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="2">
|
|
<widget class="Gui::PrefSpinBox" name="sbMaxPat">
|
|
<property name="toolTip">
|
|
<string>Maximum hatch line segments to use
|
|
when hatching a face with a PAT pattern</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight</set>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10000</number>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>MaxSeg</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/PAT</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Mark Fuzz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="8" column="2">
|
|
<widget class="Gui::PrefDoubleSpinBox" name="pdsbMarkFuzz">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>174</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Selection area around center marks
|
|
Each unit is approx. 0.1 mm wide</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="value">
|
|
<double>5.000000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>MarkFuzz</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Max SVG Hatch Tiles</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="2">
|
|
<widget class="Gui::PrefSpinBox" name="sbMaxTiles">
|
|
<property name="toolTip">
|
|
<string>Limit of 64x64 pixel SVG tiles used to hatch a single face.
|
|
For large scalings you might get an error about too many SVG tiles.
|
|
Then you need to increase the tile limit.</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight</set>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10000</number>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>MaxSVGTile</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/Decorations</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="Gui::PrefCheckBox" name="cbDebugDetail">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Dump intermediate results during Detail view processing</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Debug Detail</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>debugDetail</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/debug</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="cbShowSectionEdges">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Highlights border of section cut in section views</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show Section Edges</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>ShowSectionEdges</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>/Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="Gui::PrefCheckBox" name="cbReportProgress">
|
|
<property name="toolTip">
|
|
<string>Issue progress messages while building View geometry</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Report Progress</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>ReportProgress</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>/Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="cbNewFaceFinder">
|
|
<property name="toolTip">
|
|
<string>If checked, FreeCAD will use the new face finder algorithm. If not checked, FreeCAD will use the original face finder.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use New Face Finder Algorithm</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>NewFaceFinder</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="Gui::PrefCheckBox" name="cbAutoCorrectRefs">
|
|
<property name="toolTip">
|
|
<string>If checked, system will attempt to automatically correct dimension references when the model changes.</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Auto Correct Dimension Refs</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>AutoCorrectRefs</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/Dimensions</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="cbDetectFaces">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>If checked, TechDraw will attempt to build faces using the
|
|
line segments returned by the hidden line removal algorithm.
|
|
Faces must be detected in order to use hatching, but there
|
|
can be a performance penalty in complex models.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Detect Faces</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>HandleFaces</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>/Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Overlap Edges Scrub Passes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Max PAT Hatch Segments</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="2">
|
|
<widget class="Gui::PrefSpinBox" name="sbScrubCount">
|
|
<property name="toolTip">
|
|
<string>The number of times FreeCAD should try to remove overlapping edges returned by the Hidden Line Removal algorithm. A value of 0 indicates no scrubbing, 1 indicates a single pass and 2 indicates a second pass should be performed. Values above 2 are generally not productive. Each pass adds to the time required to produce the drawing.</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="suffix">
|
|
<string/>
|
|
</property>
|
|
<property name="prefix">
|
|
<string/>
|
|
</property>
|
|
<property name="value">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>ScrubCount</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_17">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
<italic>false</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" font-weight:600;">Note:</span> Items in <span style=" font-style:italic;">italics</span> are default values for new objects. They have no effect on existing objects.</p></body></html></string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>17</width>
|
|
<height>1</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::PrefSpinBox</class>
|
|
<extends>QSpinBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefCheckBox</class>
|
|
<extends>QCheckBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefDoubleSpinBox</class>
|
|
<extends>QDoubleSpinBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|