| | <?xml version="1.0" encoding="UTF-8"?> |
| | <ui version="4.0"> |
| | <class>TechDrawGui::DlgPrefsTechDrawDimensionsImp</class> |
| | <widget class="QWidget" name="TechDrawGui::DlgPrefsTechDrawDimensionsImp"> |
| | <property name="geometry"> |
| | <rect> |
| | <x>0</x> |
| | <y>0</y> |
| | <width>495</width> |
| | <height>692</height> |
| | </rect> |
| | </property> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="windowTitle"> |
| | <string>Dimensions</string> |
| | </property> |
| | <layout class="QVBoxLayout" name="verticalLayout_3"> |
| | <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>Dimensions</string> |
| | </property> |
| | <layout class="QVBoxLayout" name="verticalLayout_2"> |
| | <item> |
| | <layout class="QGridLayout" name="gridLayout"> |
| | <item row="8" column="2"> |
| | <widget class="Gui::PrefUnitSpinBox" name="plsb_ArrowSize" native="true"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Arrowhead size</string> |
| | </property> |
| | <property name="value" stdset="0"> |
| | <double>5.000000000000000</double> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>ArrowSize</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="0"> |
| | <widget class="QLabel" name="label"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Dimension format</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="7" column="2"> |
| | <widget class="Gui::PrefComboBox" name="pcbArrow"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Arrowhead style</string> |
| | </property> |
| | <property name="currentIndex"> |
| | <number>-1</number> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>ArrowStyle</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="6" column="0"> |
| | <widget class="QLabel" name="label_8"> |
| | <property name="text"> |
| | <string>Diameter symbol</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="2"> |
| | <widget class="Gui::PrefComboBox" name="pcbStandardAndStyle"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Standard to be used for dimensional values</string> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>StandardAndStyle</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | <item> |
| | <property name="text"> |
| | <string>ISO oriented</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>ISO referencing</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>ASME inlined</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>ASME referencing</string> |
| | </property> |
| | </item> |
| | </widget> |
| | </item> |
| | <item row="4" column="0"> |
| | <widget class="QLabel" name="label_2"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Font size</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="2"> |
| | <widget class="Gui::PrefCheckBox" name="cbShowUnits"> |
| | <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>Append unit to dimension values</string> |
| | </property> |
| | <property name="text"> |
| | <string>Show units</string> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>ShowUnits</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="label_16"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Standard and style</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="4" column="2"> |
| | <widget class="Gui::PrefUnitSpinBox" name="plsb_FontSize" native="true"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Dimension text font size</string> |
| | </property> |
| | <property name="value" stdset="0"> |
| | <double>4.000000000000000</double> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>FontSize</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="8" column="0"> |
| | <widget class="QLabel" name="label_12"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Arrow size</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="7" column="0"> |
| | <widget class="QLabel" name="label_9"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Arrow style</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="5" column="2"> |
| | <widget class="Gui::PrefDoubleSpinBox" name="pdsbToleranceScale"> |
| | <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="baseSize"> |
| | <size> |
| | <width>0</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Tolerance text scale |
| | Multiplier of 'Font size'</string> |
| | </property> |
| | <property name="accessibleName"> |
| | <string/> |
| | </property> |
| | <property name="singleStep"> |
| | <double>0.100000000000000</double> |
| | </property> |
| | <property name="value"> |
| | <double>0.800000000000000</double> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>TolSizeAdjust</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="5" column="0"> |
| | <widget class="QLabel" name="lbl_LabelFont"> |
| | <property name="baseSize"> |
| | <size> |
| | <width>0</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="font"> |
| | <font> |
| | <italic>false</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Tolerance text scale</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="2"> |
| | <widget class="Gui::PrefSpinBox" name="sbAltDecimals"> |
| | <property name="enabled"> |
| | <bool>false</bool> |
| | </property> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Number of decimals if 'Use global decimals' is not used</string> |
| | </property> |
| | <property name="value"> |
| | <number>2</number> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>AltDecimals</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="6" column="2"> |
| | <widget class="Gui::PrefLineEdit" name="leDiameter"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="font"> |
| | <font> |
| | <pointsize>12</pointsize> |
| | </font> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Character used to indicate diameter dimensions</string> |
| | </property> |
| | <property name="text"> |
| | <string notr="true">⌀</string> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>DiameterSymbol</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="0"> |
| | <widget class="Gui::PrefCheckBox" name="cbGlobalDecimals"> |
| | <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>Use system setting for number of decimals</string> |
| | </property> |
| | <property name="text"> |
| | <string>Use global decimals</string> |
| | </property> |
| | <property name="checked"> |
| | <bool>true</bool> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>UseGlobalDecimals</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="4" 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="QLabel" name="label_11"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="text"> |
| | <string>Alternate decimals</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="9" column="0"> |
| | <widget class="QLabel" name="label_3"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Controls the gap size between the dimension point and the start of the extension line for ISO dimensions</string> |
| | </property> |
| | <property name="text"> |
| | <string>Extension gap factor - ISO</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="2"> |
| | <widget class="Gui::PrefLineEdit" name="leFormatSpec"> |
| | <property name="toolTip"> |
| | <string>Leave blank for automatic dimension format. Use %f, %g or %w specifiers to override.</string> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>formatSpec</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>/Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="10" column="0"> |
| | <widget class="QLabel" name="label_4"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Controls the gap size between the dimension point and the start of the extension line for ASME dimensions</string> |
| | </property> |
| | <property name="text"> |
| | <string>Extension gap factor - ASME</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="9" column="2"> |
| | <widget class="Gui::PrefDoubleSpinBox" name="pdsbGapISO"> |
| | <property name="toolTip"> |
| | <string>Controls the gap size between the dimension point and the start of the extension line for ISO dimensions. |
| | Value multiplied by the line width is the gap. |
| | Normally, no gap is used. If using a gap, the recommended value is 8.</string> |
| | </property> |
| | <property name="value"> |
| | <double>0.000000000000000</double> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>GapISO</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="10" column="2"> |
| | <widget class="Gui::PrefDoubleSpinBox" name="pdsbGapASME"> |
| | <property name="toolTip"> |
| | <string>Controls the gap size between the dimension point and the start of the extension line for ASME dimensions. Value multiplied by the line width is the gap. |
| | Normally, no gap is used. If using a gap, the recommended value is 6.</string> |
| | </property> |
| | <property name="value"> |
| | <double>0.000000000000000</double> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>GapASME</cstring> |
| | </property> |
| | <property name="prefPath" stdset="0"> |
| | <cstring>Mod/TechDraw/Dimensions</cstring> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="11" column="0"> |
| | <widget class="QLabel" name="label_18"> |
| | <property name="font"> |
| | <font> |
| | <italic>true</italic> |
| | </font> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Controls the gap size between dimension line and dimension text for ISO dimensions.</string> |
| | </property> |
| | <property name="text"> |
| | <string>Line spacing - ISO</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="11" column="2"> |
| | <widget class="Gui::PrefDoubleSpinBox" name="pdsbLineSpacingFactorISO"> |
| | <property name="toolTip"> |
| | <string>Controls the gap size between dimension line and dimension text. |
| | Value multiplied by the line width is the line spacing.</string> |
| | </property> |
| | <property name="value"> |
| | <double>2.000000000000000</double> |
| | </property> |
| | <property name="prefEntry" stdset="0"> |
| | <cstring>LineSpacingFactorISO</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>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="wordWrap"> |
| | <bool>true</bool> |
| | </property> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_6"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="title"> |
| | <string>Tools</string> |
| | </property> |
| | <layout class="QGridLayout" name="gridLayout_general"> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="dimensioningLabel"> |
| | <property name="text"> |
| | <string>Dimensioning tools</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="1"> |
| | <widget class="QComboBox" name="dimensioningMode"> |
| | <property name="toolTip"> |
| | <string>Choose the type of dimensioning tools shown in the toolbar: |
| | ‘Single tool’ provides one unified tool for all dimension types (Distance, X/Y, Angle, Radius) with others in a drop-down. |
| | ‘Separated tools’ displays individual tools for each dimension type. |
| | ‘Both’ enables both the unified tool and the individual tools. |
| | This affects only the toolbar; all tools remain available via the menu and shortcuts.</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="0"> |
| | <widget class="QLabel" name="radiusDiameterLabel"> |
| | <property name="text"> |
| | <string>Dimension tool diameter/radius mode</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="1"> |
| | <widget class="QComboBox" name="radiusDiameterMode"> |
| | <property name="toolTip"> |
| | <string>While using the dimension tool you may choose how to handle circles and arcs: |
| | 'Auto': The tool will apply radius to arcs and diameter to circles. |
| | 'Diameter': The tool will apply diameter to all. |
| | 'Radius': The tool will apply radius to all.</string> |
| | </property> |
| | </widget> |
| | </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>20</height> |
| | </size> |
| | </property> |
| | </spacer> |
| | </item> |
| | </layout> |
| | </widget> |
| | <customwidgets> |
| | <customwidget> |
| | <class>Gui::QuantitySpinBox</class> |
| | <extends>QWidget</extends> |
| | <header>Gui/QuantitySpinBox.h</header> |
| | </customwidget> |
| | <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> |
| | <customwidget> |
| | <class>Gui::PrefDoubleSpinBox</class> |
| | <extends>QDoubleSpinBox</extends> |
| | <header>Gui/PrefWidgets.h</header> |
| | </customwidget> |
| | <customwidget> |
| | <class>Gui::PrefUnitSpinBox</class> |
| | <extends>Gui::QuantitySpinBox</extends> |
| | <header>Gui/PrefWidgets.h</header> |
| | </customwidget> |
| | </customwidgets> |
| | <resources/> |
| | <connections> |
| | <connection> |
| | <sender>cbGlobalDecimals</sender> |
| | <signal>toggled(bool)</signal> |
| | <receiver>sbAltDecimals</receiver> |
| | <slot>setDisabled(bool)</slot> |
| | <hints> |
| | <hint type="sourcelabel"> |
| | <x>108</x> |
| | <y>71</y> |
| | </hint> |
| | <hint type="destinationlabel"> |
| | <x>425</x> |
| | <y>124</y> |
| | </hint> |
| | </hints> |
| | </connection> |
| | </connections> |
| | </ui> |
| |
|