Files
create/src/Mod/TechDraw/Gui/TaskDimension.ui
Max Wilfinger ab5e9e0ded Fix source string mistakes reported on Crowdin (#23157)
* Fix source string mistakes reported on Crowdin

* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>

* Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>

* Update src/Mod/Draft/draftfunctions/upgrade.py

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>

* Update src/Mod/Draft/draftfunctions/upgrade.py

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>

* Update src/Mod/Draft/draftguitools/gui_downgrade.py

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>

* Update src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>

---------

Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
2025-08-24 20:51:32 -05:00

434 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TechDrawGui::TaskDimension</class>
<widget class="QWidget" name="TechDrawGui::TaskDimension">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>371</width>
<height>698</height>
</rect>
</property>
<property name="windowTitle">
<string>Dimension</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QGroupBox" name="gbTolerancing">
<property name="title">
<string>Tolerancing</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QCheckBox" name="cbTheoreticallyExact">
<property name="toolTip">
<string>If theoretically exact (basic) dimension</string>
</property>
<property name="text">
<string>Theoretically exact</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="cbEqualTolerance">
<property name="toolTip">
<string>Assign same value to over and under tolerance</string>
</property>
<property name="text">
<string>Equal tolerance</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Overtolerance</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::QuantitySpinBox" name="qsbOvertolerance">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Overtolerance value
If 'Equal tolerance' is checked this is also
the negated value for 'Undertolerance'.</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Undertolerance</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::QuantitySpinBox" name="qsbUndertolerance">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Undertolerance value
If 'Equal tolerance' is checked it will be replaced
by negative value of 'Overtolerance'.</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gbFormatting">
<property name="title">
<string>Formatting</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Format specifier</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="leFormatSpecifier">
<property name="toolTip">
<string>Text to be displayed</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="cbArbitrary">
<property name="toolTip">
<string>Sets use of 'Format spec' instead of the dimension value</string>
</property>
<property name="text">
<string>Arbitrary text</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Overtolerance format specifier</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="leFormatSpecifierOverTolerance">
<property name="toolTip">
<string>Specifies the overtolerance format in printf() style, or arbitrary text</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Undertolerance format specifier</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="leFormatSpecifierUnderTolerance">
<property name="toolTip">
<string>Specifies the undertolerance format in printf() style, or arbitrary text</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="cbArbitraryTolerances">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Uses the tolerance format spec&lt;/p&gt;&lt;p&gt;instead of the tolerance value&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Arbitrary tolerance text</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gbDisplayStyle">
<property name="title">
<string>Display Style</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QCheckBox" name="cbArrowheads">
<property name="toolTip">
<string>Reverses usual direction of dimension line terminators</string>
</property>
<property name="text">
<string>Flip arrowheads</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Color</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::ColorButton" name="dimensionColor">
<property name="toolTip">
<string>Color of the dimension</string>
</property>
<property name="color">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Font size</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::QuantitySpinBox" name="qsbFontSize">
<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>Font size for text</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="value">
<double>4.000000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>Font size</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_4">
<property name="text">
<string>Drawing style</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="comboDrawingStyle">
<property name="toolTip">
<string>Standard and style according to which dimension is drawn</string>
</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>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gbLines">
<property name="title">
<string>Lines</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QRadioButton" name="rbOverride">
<property name="toolTip">
<string>Use override angles if checked. Use default angles if unchecked.</string>
</property>
<property name="text">
<string>Override angles</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Dimension line angle</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="dsbDimAngle">
<property name="toolTip">
<string>Angle of dimension line with drawing X axis (degrees)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="pbDimUseDefault">
<property name="toolTip">
<string>Set dimension line angle to default (orthographic view)</string>
</property>
<property name="text">
<string>Use Default</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="pbDimUseSelection">
<property name="toolTip">
<string>Set dimension line angle to match selected edge or vertices</string>
</property>
<property name="text">
<string>Use Selection</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Extension line angle</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="dsbExtAngle">
<property name="toolTip">
<string>Angle of extension lines with drawing X axis (degrees)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<double>-360.000000000000000</double>
</property>
<property name="maximum">
<double>360.000000000000000</double>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="pbExtUseDefault">
<property name="toolTip">
<string>Set extension line angle to default (orthographic)</string>
</property>
<property name="text">
<string>Use Default</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="pbExtUseSelection">
<property name="toolTip">
<string>Set extension line angle to match selected edge or vertices</string>
</property>
<property name="text">
<string>Use Selection</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Gui::QuantitySpinBox</class>
<extends>QWidget</extends>
<header>Gui/QuantitySpinBox.h</header>
</customwidget>
<customwidget>
<class>Gui::ColorButton</class>
<extends>QPushButton</extends>
<header>Gui/Widgets.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="Resources/TechDraw.qrc"/>
</resources>
<connections/>
</ui>