Files
newspark110/ui/forms/qg_dlgoptionsdrawing.ui
Chenwenxuan edac2715f0 init
2024-03-06 14:54:30 +08:00

2068 lines
62 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QG_DlgOptionsDrawing</class>
<widget class="QDialog" name="QG_DlgOptionsDrawing">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>653</width>
<height>519</height>
</rect>
</property>
<property name="windowTitle">
<string>Drawing Preferences</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab1">
<attribute name="title">
<string>&amp;Paper</string>
</attribute>
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout" name="tab1Layout">
<item>
<layout class="QVBoxLayout" name="paperOptionsLayout">
<item>
<widget class="QGroupBox" name="formatGroupBox">
<property name="title">
<string>Format</string>
</property>
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QComboBox" name="cbPaperFormat"/>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<item row="0" column="2">
<widget class="QLineEdit" name="lePaperWidth"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lPageHeight">
<property name="text">
<string>&amp;Height:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>lePaperHeight</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="lePaperHeight"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lPageWidth">
<property name="text">
<string>&amp;Width:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>lePaperWidth</cstring>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="orientGroupBox">
<property name="title">
<string>Orientation</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QRadioButton" name="rbLandscape">
<property name="text">
<string>&amp;Landscape</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbPortrait">
<property name="text">
<string>P&amp;ortrait</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="marginsGroupBox">
<property name="title">
<string>Margins</string>
</property>
<layout class="QGridLayout" name="gridLayout_11">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_10">
<item row="2" column="1">
<widget class="QLineEdit" name="leMarginLeft">
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Left</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLineEdit" name="leMarginBottom">
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Bottom</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLineEdit" name="leMarginRight">
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Right</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Bottom</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Top</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Right</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Left</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="leMarginTop">
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Top</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="pagesNumGroupBox">
<property name="title">
<string>Number of pages</string>
</property>
<layout class="QHBoxLayout" name="pagesNumLayout">
<item>
<widget class="QLabel" name="lPagesNumH">
<property name="text">
<string>Horizontally:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbPagesNumH">
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lPagesNumV">
<property name="text">
<string>Vertically:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="sbPagesNumV">
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="paperPreviewGroupBox">
<property name="title">
<string>Preview</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGraphicsView" name="gvPaperPreview">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_2">
<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>
<widget class="QWidget" name="tab2">
<attribute name="title">
<string>&amp;Units</string>
</attribute>
<layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="bgUnit">
<property name="title">
<string>Main Unit</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="lUnit">
<property name="text">
<string>&amp;Main drawing unit:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbUnit</cstring>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbUnit"/>
</item>
<item>
<spacer name="spacer19">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>71</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="bgLength">
<property name="title">
<string>Length</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="lLengthFormat">
<property name="text">
<string>&amp;Format:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbLengthFormat</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbLengthFormat"/>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cbLengthPrecision"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lLengthPrecision">
<property name="text">
<string>P&amp;recision:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbLengthPrecision</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<spacer name="spacer15">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<spacer name="spacer15_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="bgLengthPreview">
<property name="title">
<string>Preview</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="lLinear">
<property name="text">
<string>linear</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="bgAngle">
<property name="title">
<string>Angle</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="lAngleFormat">
<property name="text">
<string>F&amp;ormat:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbAngleFormat</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<spacer name="spacer15_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<spacer name="spacer15_2_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbAngleFormat"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lAnglePrecision">
<property name="text">
<string>Pre&amp;cision:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbAnglePrecision</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cbAnglePrecision"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="bgAnglePreview">
<property name="title">
<string>Preview</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="lAngular">
<property name="text">
<string>angular</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab3">
<attribute name="title">
<string>&amp;Grid</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_9">
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="bgGrid">
<property name="minimumSize">
<size>
<width>120</width>
<height>60</height>
</size>
</property>
<property name="title">
<string>Grid Settings</string>
</property>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<widget class="QCheckBox" name="cbGridOn">
<property name="text">
<string>Show Grid</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="rbOrthogonalGrid">
<property name="toolTip">
<string>Use orthogonal grid</string>
</property>
<property name="text">
<string>Orthogonal Grid</string>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="rbIsometricGrid">
<property name="toolTip">
<string>Use isometric grid</string>
</property>
<property name="text">
<string>Isometric Grid</string>
</property>
<property name="autoExclusive">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>350</width>
<height>16777215</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="1" column="0">
<widget class="QRadioButton" name="rbCrosshairLeft">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Left crosshair with isometric grid</string>
</property>
<property name="text">
<string>Left</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="rbCrosshairTop">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Top crosshair with isometric grid</string>
</property>
<property name="text">
<string>Top</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QRadioButton" name="rbCrosshairRight">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Right crosshair with isometric grid</string>
</property>
<property name="text">
<string>Right</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="lCrosshair">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Crosshair</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0">
<widget class="QLabel" name="lXSpacing">
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>X Spacing:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbXSpacing">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string>auto</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.01</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">10</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lYSpacing">
<property name="text">
<string>Y Spacing:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cbYSpacing">
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string>auto</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.01</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">10</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>228</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>71</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab4">
<attribute name="title">
<string>&amp;Dimensions</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="14" column="5">
<spacer name="spacer11_2_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="2">
<widget class="QG_FontBox" name="cbDimTxSty" native="true"/>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Text style:</string>
</property>
</widget>
</item>
<item row="10" column="7">
<widget class="QComboBox" name="cbDimDSep">
<item>
<property name="text">
<string>'.' (Period)</string>
</property>
</item>
<item>
<property name="text">
<string>',' (Comma)</string>
</property>
</item>
</widget>
</item>
<item row="10" column="6">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Decimal separator:</string>
</property>
</widget>
</item>
<item row="3" column="8">
<widget class="QLabel" name="lDimUnit6">
<property name="text">
<string>units</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="8">
<widget class="QLabel" name="lDimUnit5">
<property name="text">
<string>units</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="6">
<widget class="QLabel" name="lDimLUnit">
<property name="text">
<string>Linear units:</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbLengthFormat</cstring>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="lDimClrT">
<property name="text">
<string>Color:</string>
</property>
</widget>
</item>
<item row="13" column="7">
<widget class="LG_DimzerosBox" name="cbDimAZin"/>
</item>
<item row="2" column="1">
<widget class="QLabel" name="lDimFactor">
<property name="text">
<string>Length Factor:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="cbDimFactor">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Scale to multiply all dimension values.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string notr="true">0.1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.5</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">10</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">20</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">50</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">100</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">200</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">500</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">1000</string>
</property>
</item>
</widget>
</item>
<item row="3" column="6">
<widget class="QLabel" name="lDimTsz">
<property name="text">
<string>Tick size:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QLabel" name="lDimUnit1">
<property name="text">
<string>units</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="15" column="0">
<spacer name="spacer11">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="7">
<widget class="QG_WidthBox" name="cbDimLwD"/>
</item>
<item row="11" column="6">
<widget class="QLabel" name="lDimAUnit">
<property name="text">
<string>Angular units:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbAngleFormat</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="lDimTextHeight">
<property name="text">
<string>Text Height:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="6">
<widget class="QLabel" name="lDimZin">
<property name="text">
<string>Linear zeros:</string>
</property>
</widget>
</item>
<item row="3" column="7">
<widget class="QComboBox" name="cbDimTsz">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Dimension Tick size. Set it to 0 will disable the dimension tick. Dimension arrow won't be drawn when dimension tick is enabled.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">0</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
</widget>
</item>
<item row="6" column="5" colspan="3">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Format units</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QComboBox" name="cbDimGap">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Distance gap around text&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="cbDimScale">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Scale to multiply all dimension geometries.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string notr="true">0.1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">0.5</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">10</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0" colspan="3">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Text size &amp; position</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="lDimScale">
<property name="text">
<string>General Scale:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QComboBox" name="cbDimTextHeight">
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
</widget>
</item>
<item row="8" column="7">
<widget class="QComboBox" name="cbDimDec"/>
</item>
<item row="4" column="7">
<widget class="QG_ColorBox" name="cbDimClrD"/>
</item>
<item row="10" column="2">
<widget class="QComboBox" name="cbDimExe">
<property name="toolTip">
<string>Length to enlarge over dimension line</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
</widget>
</item>
<item row="2" column="7">
<widget class="QComboBox" name="cbDimAsz">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Dimension arrow size. &lt;a name=&quot;result_box&quot;/&gt;without effect when tick size &lt;a name=&quot;result_box&quot;/&gt;is other than 0&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
</widget>
</item>
<item row="15" column="1">
<spacer name="spacer11_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="6">
<widget class="QLabel" name="lDimAsz">
<property name="text">
<string>Arrow size:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="12" column="7">
<widget class="QComboBox" name="cbDimADec"/>
</item>
<item row="5" column="6">
<widget class="QLabel" name="lDimLwD">
<property name="text">
<string>Width:</string>
</property>
</widget>
</item>
<item row="11" column="7">
<widget class="QComboBox" name="cbDimAUnit"/>
</item>
<item row="6" column="3">
<widget class="QLabel" name="lDimUnit4">
<property name="text">
<string>units</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="5" colspan="3">
<widget class="QLabel" name="label">
<property name="text">
<string>Dimension lines, arrows &amp; ticks</string>
</property>
</widget>
</item>
<item row="13" column="6">
<widget class="QLabel" name="lDimAZin">
<property name="text">
<string>Angular zeros:</string>
</property>
</widget>
</item>
<item row="4" column="6">
<widget class="QLabel" name="lDimClrD">
<property name="text">
<string>Color:</string>
</property>
</widget>
</item>
<item row="12" column="6">
<widget class="QLabel" name="lDimADec">
<property name="text">
<string>Angular precision:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbAnglePrecision</cstring>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QLabel" name="lDimExe">
<property name="text">
<string>Enlarge:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLabel" name="lDimExo">
<property name="text">
<string>Offset:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="7">
<widget class="QComboBox" name="cbDimLUnit"/>
</item>
<item row="8" column="6">
<widget class="QLabel" name="lDimDec">
<property name="text">
<string>Linear precision:</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>cbLengthPrecision</cstring>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QG_ColorBox" name="cbDimClrT"/>
</item>
<item row="5" column="2">
<widget class="QComboBox" name="cbDimTih">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Text alignment &lt;a name=&quot;result_box&quot;/&gt;relative to the dimension line.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>Aligned</string>
</property>
</item>
<item>
<property name="text">
<string>Horizontal</string>
</property>
</item>
</widget>
</item>
<item row="10" column="3">
<widget class="QLabel" name="lDimUnit2">
<property name="text">
<string>units</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="3">
<widget class="QLabel" name="lDimUnit3">
<property name="text">
<string>units</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="7">
<widget class="LG_DimzerosBox" name="cbDimZin"/>
</item>
<item row="1" column="4" rowspan="13">
<widget class="Line" name="line">
<property name="lineWidth">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="9" column="2">
<widget class="QComboBox" name="cbDimExo">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Offset from origin point.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">1</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">5</string>
</property>
</item>
</widget>
</item>
<item row="11" column="3">
<widget class="QLabel" name="lDimUnit7">
<property name="text">
<string>units</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="lDimTih">
<property name="text">
<string>Text alignment:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="lDimGap">
<property name="text">
<string>Dimension line gap:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="8" column="0" colspan="3">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Extension lines</string>
</property>
</widget>
</item>
<item row="11" column="0" colspan="2">
<widget class="QCheckBox" name="cbDimFxLon">
<property name="text">
<string>Fixed length:</string>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="QLabel" name="lDimClrE">
<property name="text">
<string>Color:</string>
</property>
</widget>
</item>
<item row="13" column="1">
<widget class="QLabel" name="lDimLwE">
<property name="text">
<string>Width:</string>
</property>
</widget>
</item>
<item row="13" column="2">
<widget class="QG_WidthBox" name="cbDimLwE"/>
</item>
<item row="12" column="2">
<widget class="QG_ColorBox" name="cbDimClrE">
<property name="toolTip">
<string/>
</property>
<property name="editable">
<bool>false</bool>
</property>
</widget>
</item>
<item row="11" column="2">
<widget class="QDoubleSpinBox" name="cbDimFxL">
<property name="toolTip">
<string>fixed extension line length</string>
</property>
<property name="decimals">
<number>4</number>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab5">
<attribute name="title">
<string>Splines</string>
</attribute>
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="lSplineSegs">
<property name="text">
<string>Number of line segments per spline patch:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cbSplineSegs">
<property name="editable">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">2</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">4</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">8</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">16</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">32</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">64</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="spacer19_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>111</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>QG_ColorBox</class>
<extends>QComboBox</extends>
<header>../qg_colorbox.h</header>
</customwidget>
<customwidget>
<class>QG_WidthBox</class>
<extends>QComboBox</extends>
<header>../qg_widthbox.h</header>
</customwidget>
<customwidget>
<class>QG_FontBox</class>
<extends>QWidget</extends>
<header>qg_fontbox.h</header>
</customwidget>
<customwidget>
<class>LG_DimzerosBox</class>
<extends>QComboBox</extends>
<header>../lg_dimzerosbox.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabWidget</tabstop>
<tabstop>cbPaperFormat</tabstop>
<tabstop>lePaperWidth</tabstop>
<tabstop>lePaperHeight</tabstop>
<tabstop>rbLandscape</tabstop>
<tabstop>rbPortrait</tabstop>
<tabstop>leMarginTop</tabstop>
<tabstop>leMarginLeft</tabstop>
<tabstop>leMarginRight</tabstop>
<tabstop>leMarginBottom</tabstop>
<tabstop>sbPagesNumH</tabstop>
<tabstop>sbPagesNumV</tabstop>
<tabstop>gvPaperPreview</tabstop>
<tabstop>cbUnit</tabstop>
<tabstop>cbLengthFormat</tabstop>
<tabstop>cbLengthPrecision</tabstop>
<tabstop>cbAngleFormat</tabstop>
<tabstop>cbAnglePrecision</tabstop>
<tabstop>cbGridOn</tabstop>
<tabstop>rbOrthogonalGrid</tabstop>
<tabstop>rbIsometricGrid</tabstop>
<tabstop>rbCrosshairLeft</tabstop>
<tabstop>rbCrosshairTop</tabstop>
<tabstop>rbCrosshairRight</tabstop>
<tabstop>cbXSpacing</tabstop>
<tabstop>cbYSpacing</tabstop>
<tabstop>cbDimScale</tabstop>
<tabstop>cbDimFactor</tabstop>
<tabstop>cbDimTextHeight</tabstop>
<tabstop>cbDimTih</tabstop>
<tabstop>cbDimGap</tabstop>
<tabstop>cbDimClrT</tabstop>
<tabstop>cbDimExo</tabstop>
<tabstop>cbDimExe</tabstop>
<tabstop>cbDimFxLon</tabstop>
<tabstop>cbDimFxL</tabstop>
<tabstop>cbDimClrE</tabstop>
<tabstop>cbDimLwE</tabstop>
<tabstop>cbDimAsz</tabstop>
<tabstop>cbDimTsz</tabstop>
<tabstop>cbDimClrD</tabstop>
<tabstop>cbDimLwD</tabstop>
<tabstop>cbDimLUnit</tabstop>
<tabstop>cbDimDec</tabstop>
<tabstop>cbDimZin</tabstop>
<tabstop>cbDimDSep</tabstop>
<tabstop>cbDimAUnit</tabstop>
<tabstop>cbDimADec</tabstop>
<tabstop>cbDimAZin</tabstop>
<tabstop>cbSplineSegs</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>validate()</slot>
<hints>
<hint type="sourcelabel">
<x>261</x>
<y>492</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>261</x>
<y>492</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbLengthFormat</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updateLengthPrecision()</slot>
<hints>
<hint type="sourcelabel">
<x>187</x>
<y>150</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbDimLUnit</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updateDimLengthPrecision()</slot>
<hints>
<hint type="sourcelabel">
<x>494</x>
<y>241</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbAngleFormat</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updateAnglePrecision()</slot>
<hints>
<hint type="sourcelabel">
<x>495</x>
<y>150</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbDimAUnit</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updateDimAnglePrecision()</slot>
<hints>
<hint type="sourcelabel">
<x>494</x>
<y>356</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbUnit</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePreview()</slot>
<hints>
<hint type="sourcelabel">
<x>161</x>
<y>86</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbAngleFormat</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePreview()</slot>
<hints>
<hint type="sourcelabel">
<x>495</x>
<y>150</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbLengthFormat</sender>
<signal>activated(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePreview()</slot>
<hints>
<hint type="sourcelabel">
<x>187</x>
<y>150</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbAnglePrecision</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePreview()</slot>
<hints>
<hint type="sourcelabel">
<x>495</x>
<y>179</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbLengthPrecision</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePreview()</slot>
<hints>
<hint type="sourcelabel">
<x>187</x>
<y>179</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbPaperFormat</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperSize()</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>104</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbUnit</sender>
<signal>activated(int)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updateUnitLabels()</slot>
<hints>
<hint type="sourcelabel">
<x>161</x>
<y>86</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>leMarginRight</sender>
<signal>textChanged(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperPreview()</slot>
<hints>
<hint type="sourcelabel">
<x>250</x>
<y>312</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>leMarginLeft</sender>
<signal>textChanged(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperPreview()</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>341</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>leMarginBottom</sender>
<signal>textChanged(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperPreview()</slot>
<hints>
<hint type="sourcelabel">
<x>174</x>
<y>341</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>leMarginTop</sender>
<signal>textChanged(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperPreview()</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>341</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>lePaperWidth</sender>
<signal>textChanged(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperPreview()</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>341</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>lePaperHeight</sender>
<signal>textChanged(QString)</signal>
<receiver>QG_DlgOptionsDrawing</receiver>
<slot>updatePaperPreview()</slot>
<hints>
<hint type="sourcelabel">
<x>144</x>
<y>341</y>
</hint>
<hint type="destinationlabel">
<x>326</x>
<y>250</y>
</hint>
</hints>
</connection>
</connections>
</ui>