| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>Dimension</class>
- <widget class="QWidget" name="Dimension">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>731</width>
- <height>50</height>
- </rect>
- </property>
- <layout class="QHBoxLayout">
- <item>
- <widget class="QLabel" name="label_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="text">
- <string>Label:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="Prefix">
- <property name="maximumSize">
- <size>
- <width>120</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Prefix</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="Text">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>0</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Enter fixed label or leave empty for automatic label</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="Line" name="line">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="UpperToleranceIcon">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;background-color:transparent;</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>UpperToleranceIcon.svg</normaloff>UpperToleranceIcon.svg</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="UpperTolerance">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>50</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Upper tolerance</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="LowerToleranceIcon">
- <property name="minimumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;background-color:transparent;</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>LowerToleranceIcon.svg</normaloff>LowerToleranceIcon.svg</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="LowerTolerance">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>50</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Lower tolerance</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="Line" name="ScaleSeparator">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="ScaleLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Scale</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="RMathComboBox" name="Scale">
- <property name="minimumSize">
- <size>
- <width>90</width>
- <height>0</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Drawing Scale</string>
- </property>
- <property name="editable">
- <bool>true</bool>
- </property>
- <property name="insertPolicy">
- <enum>QComboBox::NoInsert</enum>
- </property>
- <item>
- <property name="text">
- <string notr="true">1:1</string>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="AutoScale">
- <property name="text">
- <string>Auto</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>RMathComboBox</class>
- <extends>QComboBox</extends>
- <header>RMathComboBox.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections>
- <connection>
- <sender>AutoScale</sender>
- <signal>toggled(bool)</signal>
- <receiver>Scale</receiver>
- <slot>setDisabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>680</x>
- <y>25</y>
- </hint>
- <hint type="destinationlabel">
- <x>605</x>
- <y>21</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|