485 lines
15 KiB
XML
485 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>TechDrawGui::DlgPrefsTechDraw4Imp</class>
|
|
<widget class="QWidget" name="TechDrawGui::DlgPrefsTechDraw4Imp">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>460</width>
|
|
<height>330</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="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="baseSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Advanced</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0,1">
|
|
<item row="5" column="2">
|
|
<widget class="Gui::PrefComboBox" name="cbEndCap">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<italic>false</italic>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Shape of line end caps.
|
|
Only change unless you know what you are doing!</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>EdgeCapStyle</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/TechDraw/General</cstring>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Round</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Square</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Flat</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="2">
|
|
<widget class="Gui::PrefSpinBox" name="sbMaxTiles">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<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 to 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="1" 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="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</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/debugDetail</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="Gui::PrefCheckBox" name="cbShowLoose">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Include 2D Objects in projection</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show Loose 2D Geom</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>ShowLoose2d</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="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="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="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</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="0" column="2">
|
|
<widget class="Gui::PrefCheckBox" name="cbShowSectionEdges">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</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="prefEntry" stdset="0">
|
|
<cstring>ShowSectionEdges</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>/Mod/TechDraw/General</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="2">
|
|
<widget class="Gui::PrefSpinBox" name="sbMaxPat">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<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="5" column="0">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Line End Cap Shape</string>
|
|
</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="2" 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="2" 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="6" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Max SVG Hatch Tiles</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Max PAT Hatch Segments</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Dimension Format</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="Gui::PrefLineEdit" name="leFormatSpec">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Override automatic dimension format</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>formatSpec</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>/Mod/TechDraw/Dimensions</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_17">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Items in italics are default values for new objects. They have no effect on existing objects.</string>
|
|
</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>20</width>
|
|
<height>20</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::PrefComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefLineEdit</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="Resources/TechDraw.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|