| | <?xml version="1.0" encoding="UTF-8"?> |
| | <ui version="4.0"> |
| | <class>Dialog</class> |
| | <widget class="QDialog" name="Dialog"> |
| | <property name="geometry"> |
| | <rect> |
| | <x>0</x> |
| | <y>0</y> |
| | <width>416</width> |
| | <height>542</height> |
| | </rect> |
| | </property> |
| | <property name="windowTitle"> |
| | <string>Annotation Styles Editor</string> |
| | </property> |
| | <layout class="QVBoxLayout" name="verticalLayout_1"> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_1"> |
| | <property name="title"> |
| | <string>Style Name</string> |
| | </property> |
| | <layout class="QHBoxLayout" name="horizontalLayout_1"> |
| | <item> |
| | <widget class="QComboBox" name="comboBoxStyles"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>The name of the style. Existing style names can be edited.</string> |
| | </property> |
| | <property name="editable"> |
| | <bool>false</bool> |
| | </property> |
| | <item> |
| | <property name="text"> |
| | <string/> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Add new…</string> |
| | </property> |
| | </item> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QPushButton" name="pushButtonRename"> |
| | <property name="enabled"> |
| | <bool>false</bool> |
| | </property> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="maximumSize"> |
| | <size> |
| | <width>110</width> |
| | <height>16777215</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Renames the selected style</string> |
| | </property> |
| | <property name="text"> |
| | <string>Rename</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QPushButton" name="pushButtonDelete"> |
| | <property name="enabled"> |
| | <bool>false</bool> |
| | </property> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="maximumSize"> |
| | <size> |
| | <width>110</width> |
| | <height>16777215</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>Deletes the selected style</string> |
| | </property> |
| | <property name="text"> |
| | <string>Delete</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QPushButton" name="pushButtonImport"> |
| | <property name="toolTip"> |
| | <string>Import styles from json file</string> |
| | </property> |
| | <property name="text"> |
| | <string/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QPushButton" name="pushButtonExport"> |
| | <property name="toolTip"> |
| | <string>Export styles to json file</string> |
| | </property> |
| | <property name="text"> |
| | <string/> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QScrollArea" name="scrollArea"> |
| | <property name="frameShadow"> |
| | <enum>QFrame::Plain</enum> |
| | </property> |
| | <property name="verticalScrollBarPolicy"> |
| | <enum>Qt::ScrollBarAsNeeded</enum> |
| | </property> |
| | <property name="widgetResizable"> |
| | <bool>true</bool> |
| | </property> |
| | <widget class="QWidget" name="scrollAreaWidgetContents"> |
| | <property name="geometry"> |
| | <rect> |
| | <x>0</x> |
| | <y>0</y> |
| | <width>383</width> |
| | <height>732</height> |
| | </rect> |
| | </property> |
| | <layout class="QVBoxLayout" name="verticalLayout_2"> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_2"> |
| | <property name="title"> |
| | <string>Annotations</string> |
| | </property> |
| | <layout class="QGridLayout" name="gridLayout_1"> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="label_ScaleMultiplier"> |
| | <property name="toolTip"> |
| | <string>A multiplier factor that affects the size of texts and markers</string> |
| | </property> |
| | <property name="text"> |
| | <string>Scale multiplier</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="1"> |
| | <widget class="QDoubleSpinBox" name="ScaleMultiplier"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>A multiplier factor that affects the size of texts and markers</string> |
| | </property> |
| | <property name="minimum"> |
| | <number>0</number> |
| | </property> |
| | <property name="maximum"> |
| | <number>10000</number> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_3"> |
| | <property name="title"> |
| | <string>Texts</string> |
| | </property> |
| | <layout class="QGridLayout" name="gridLayout_2"> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="label_FontName"> |
| | <property name="toolTip"> |
| | <string>The font to use for texts and dimensions</string> |
| | </property> |
| | <property name="text"> |
| | <string>Font name</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="1"> |
| | <widget class="QFontComboBox" name="FontName"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>The font to use for texts and dimensions</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="0"> |
| | <widget class="QLabel" name="label_FontSize"> |
| | <property name="toolTip"> |
| | <string>The font size in system units</string> |
| | </property> |
| | <property name="text"> |
| | <string>Font size</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="1"> |
| | <widget class="Gui::InputField" name="FontSize"> |
| | <property name="toolTip"> |
| | <string>The font size in system units</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="0"> |
| | <widget class="QLabel" name="label_LineSpacing"> |
| | <property name="toolTip"> |
| | <string>The line spacing for multi-line texts and labels (relative to the font size)</string> |
| | </property> |
| | <property name="text"> |
| | <string>Line spacing factor</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="1"> |
| | <widget class="QDoubleSpinBox" name="LineSpacing"> |
| | <property name="toolTip"> |
| | <string>The line spacing for multi-line texts and labels (relative to the font size)</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="0"> |
| | <widget class="QLabel" name="label_TextColor"> |
| | <property name="toolTip"> |
| | <string>The color of texts, dimension texts and label texts</string> |
| | </property> |
| | <property name="text"> |
| | <string>Text color</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="1"> |
| | <widget class="Gui::ColorButton" name="TextColor"> |
| | <property name="toolTip"> |
| | <string>The color of texts, dimension texts and label texts</string> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_4"> |
| | <property name="title"> |
| | <string>Lines and Arrows</string> |
| | </property> |
| | <layout class="QGridLayout" name="gridLayout_3"> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="label_ShowLine"> |
| | <property name="toolTip"> |
| | <string>Displays the dimension line</string> |
| | </property> |
| | <property name="text"> |
| | <string>Show dimension line</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="1"> |
| | <widget class="QCheckBox" name="ShowLine"> |
| | <property name="toolTip"> |
| | <string>Displays the dimension line</string> |
| | </property> |
| | <property name="layoutDirection"> |
| | <enum>Qt::LeftToRight</enum> |
| | </property> |
| | <property name="text"> |
| | <string/> |
| | </property> |
| | <property name="checked"> |
| | <bool>true</bool> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="0"> |
| | <widget class="QLabel" name="label_LineWidth"> |
| | <property name="toolTip"> |
| | <string>The width of the lines</string> |
| | </property> |
| | <property name="text"> |
| | <string>Line width</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="1"> |
| | <widget class="QSpinBox" name="LineWidth"> |
| | <property name="toolTip"> |
| | <string>The width of the lines</string> |
| | </property> |
| | <property name="suffix"> |
| | <string> px</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="0"> |
| | <widget class="QLabel" name="label_ArrowType"> |
| | <property name="toolTip"> |
| | <string>The type of the starting arrows or markers to use for dimensions and labels</string> |
| | </property> |
| | <property name="text"> |
| | <string>Start arrow type</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="1"> |
| | <widget class="QComboBox" name="ArrowTypeStart"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>The type of the starting arrows or markers to use for dimensions and labels</string> |
| | </property> |
| | <item> |
| | <property name="text"> |
| | <string>Dot</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Circle</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Arrow</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Tick</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Tick-2</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>None</string> |
| | </property> |
| | </item> |
| | </widget> |
| | </item> |
| | <item row="4" column="0"> |
| | <widget class="QLabel" name="label_ArrowSizeStart"> |
| | <property name="toolTip"> |
| | <string>The size of the starting arrows or markers in system units</string> |
| | </property> |
| | <property name="text"> |
| | <string>Start arrow size</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="4" column="1"> |
| | <widget class="Gui::InputField" name="ArrowSizeStart"> |
| | <property name="toolTip"> |
| | <string>The size of the starting arrows or markers in system units</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="5" column="0"> |
| | <widget class="QLabel" name="label_ArrowTypeEnd"> |
| | <property name="toolTip"> |
| | <string>The type of the ending arrows or markers to use for dimensions and labels</string> |
| | </property> |
| | <property name="text"> |
| | <string>End arrow type</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="5" column="1"> |
| | <widget class="QComboBox" name="ArrowTypeEnd"> |
| | <property name="sizePolicy"> |
| | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| | <horstretch>0</horstretch> |
| | <verstretch>0</verstretch> |
| | </sizepolicy> |
| | </property> |
| | <property name="minimumSize"> |
| | <size> |
| | <width>60</width> |
| | <height>0</height> |
| | </size> |
| | </property> |
| | <property name="toolTip"> |
| | <string>The type of the ending arrows or markers to use for dimensions and labels</string> |
| | </property> |
| | <item> |
| | <property name="text"> |
| | <string>Dot</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Circle</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Arrow</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Tick</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>Tick-2</string> |
| | </property> |
| | </item> |
| | <item> |
| | <property name="text"> |
| | <string>None</string> |
| | </property> |
| | </item> |
| | </widget> |
| | </item> |
| | <item row="6" column="0"> |
| | <widget class="QLabel" name="label_ArrowSizeEnd"> |
| | <property name="toolTip"> |
| | <string>The size of the ending arrows or markers in system units</string> |
| | </property> |
| | <property name="text"> |
| | <string>End arrow size</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="6" column="1"> |
| | <widget class="Gui::InputField" name="ArrowSizeEnd"> |
| | <property name="toolTip"> |
| | <string>The size of the ending arrows or markers in system units</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="7" column="0"> |
| | <widget class="QLabel" name="label_LineColor"> |
| | <property name="toolTip"> |
| | <string>The color of lines and arrows</string> |
| | </property> |
| | <property name="text"> |
| | <string>Line and arrow color</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="7" column="1"> |
| | <widget class="Gui::ColorButton" name="LineColor"> |
| | <property name="toolTip"> |
| | <string>The color of lines and arrows</string> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_5"> |
| | <property name="title"> |
| | <string>Units</string> |
| | </property> |
| | <layout class="QGridLayout" name="gridLayout_4"> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="label_ShowUnit"> |
| | <property name="toolTip"> |
| | <string>If it is checked it will show the unit next to the dimension value</string> |
| | </property> |
| | <property name="text"> |
| | <string>Show unit</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="1"> |
| | <widget class="QCheckBox" name="ShowUnit"> |
| | <property name="toolTip"> |
| | <string>Shows the unit next to the dimension value</string> |
| | </property> |
| | <property name="layoutDirection"> |
| | <enum>Qt::LeftToRight</enum> |
| | </property> |
| | <property name="text"> |
| | <string/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="0"> |
| | <widget class="QLabel" name="label_UnitOverride"> |
| | <property name="toolTip"> |
| | <string>Specify a valid length unit like mm, m, in, ft, to force displaying the dimension value in this unit</string> |
| | </property> |
| | <property name="text"> |
| | <string>Unit override</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="1"> |
| | <widget class="QLineEdit" name="UnitOverride"> |
| | <property name="toolTip"> |
| | <string>Specify a valid length unit like mm, m, in, ft, to force displaying the dimension value in this unit</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="0"> |
| | <widget class="QLabel" name="label_Decimals"> |
| | <property name="toolTip"> |
| | <string>The number of decimals to show for dimension values</string> |
| | </property> |
| | <property name="text"> |
| | <string>Number of decimals</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="1"> |
| | <widget class="QSpinBox" name="Decimals"> |
| | <property name="toolTip"> |
| | <string>The number of decimals to show for dimension values</string> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QGroupBox" name="groupBox_6"> |
| | <property name="title"> |
| | <string>Dimension Details</string> |
| | </property> |
| | <layout class="QGridLayout" name="gridLayout_5"> |
| | <item row="0" column="0"> |
| | <widget class="QLabel" name="label_DimOvershoot"> |
| | <property name="toolTip"> |
| | <string>The distance the dimension line is additionally extended</string> |
| | </property> |
| | <property name="text"> |
| | <string>Dimension line overshoot</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="0" column="1"> |
| | <widget class="Gui::InputField" name="DimOvershoot"> |
| | <property name="toolTip"> |
| | <string>The distance the dimension line is additionally extended</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="0"> |
| | <widget class="QLabel" name="label_ExtLines"> |
| | <property name="toolTip"> |
| | <string>The length of the extension lines</string> |
| | </property> |
| | <property name="text"> |
| | <string>Extension line length</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="1" column="1"> |
| | <widget class="Gui::InputField" name="ExtLines"> |
| | <property name="toolTip"> |
| | <string>The length of the extension lines</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="0"> |
| | <widget class="QLabel" name="label_ExtOvershoot"> |
| | <property name="toolTip"> |
| | <string>The distance the extension lines are additionally extended beyond the dimension line</string> |
| | </property> |
| | <property name="text"> |
| | <string>Extension line overshoot</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="2" column="1"> |
| | <widget class="Gui::InputField" name="ExtOvershoot"> |
| | <property name="toolTip"> |
| | <string>The distance the extension lines are additionally extended beyond the dimension line</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="0"> |
| | <widget class="QLabel" name="label_TextSpacing"> |
| | <property name="toolTip"> |
| | <string>The distance between the dimension text and the dimension line</string> |
| | </property> |
| | <property name="text"> |
| | <string>Text spacing</string> |
| | </property> |
| | </widget> |
| | </item> |
| | <item row="3" column="1"> |
| | <widget class="Gui::InputField" name="TextSpacing"> |
| | <property name="toolTip"> |
| | <string>The distance between the dimension text and the dimension line</string> |
| | </property> |
| | <property name="unit" stdset="0"> |
| | <string notr="true"/> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | </widget> |
| | </item> |
| | <item> |
| | <widget class="QDialogButtonBox" name="buttonBox"> |
| | <property name="orientation"> |
| | <enum>Qt::Horizontal</enum> |
| | </property> |
| | <property name="standardButtons"> |
| | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| | </property> |
| | </widget> |
| | </item> |
| | </layout> |
| | </widget> |
| | <customwidgets> |
| | <customwidget> |
| | <class>Gui::InputField</class> |
| | <extends>QLineEdit</extends> |
| | <header>Gui/InputField.h</header> |
| | </customwidget> |
| | <customwidget> |
| | <class>Gui::ColorButton</class> |
| | <extends>QPushButton</extends> |
| | <header>Gui/Widgets.h</header> |
| | </customwidget> |
| | </customwidgets> |
| | <resources/> |
| | <connections> |
| | <connection> |
| | <sender>buttonBox</sender> |
| | <signal>accepted()</signal> |
| | <receiver>Dialog</receiver> |
| | <slot>accept()</slot> |
| | <hints> |
| | <hint type="sourcelabel"> |
| | <x>248</x> |
| | <y>254</y> |
| | </hint> |
| | <hint type="destinationlabel"> |
| | <x>157</x> |
| | <y>274</y> |
| | </hint> |
| | </hints> |
| | </connection> |
| | <connection> |
| | <sender>buttonBox</sender> |
| | <signal>rejected()</signal> |
| | <receiver>Dialog</receiver> |
| | <slot>reject()</slot> |
| | <hints> |
| | <hint type="sourcelabel"> |
| | <x>316</x> |
| | <y>260</y> |
| | </hint> |
| | <hint type="destinationlabel"> |
| | <x>286</x> |
| | <y>274</y> |
| | </hint> |
| | </hints> |
| | </connection> |
| | </connections> |
| | </ui> |
| |
|