Dimension.ui 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Dimension</class>
  4. <widget class="QWidget" name="Dimension">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>731</width>
  10. <height>50</height>
  11. </rect>
  12. </property>
  13. <layout class="QHBoxLayout">
  14. <item>
  15. <widget class="QLabel" name="label_3">
  16. <property name="sizePolicy">
  17. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  18. <horstretch>0</horstretch>
  19. <verstretch>0</verstretch>
  20. </sizepolicy>
  21. </property>
  22. <property name="frameShape">
  23. <enum>QFrame::NoFrame</enum>
  24. </property>
  25. <property name="frameShadow">
  26. <enum>QFrame::Plain</enum>
  27. </property>
  28. <property name="text">
  29. <string>Label:</string>
  30. </property>
  31. </widget>
  32. </item>
  33. <item>
  34. <widget class="QComboBox" name="Prefix">
  35. <property name="maximumSize">
  36. <size>
  37. <width>120</width>
  38. <height>16777215</height>
  39. </size>
  40. </property>
  41. <property name="toolTip">
  42. <string>Prefix</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item>
  47. <widget class="QLineEdit" name="Text">
  48. <property name="sizePolicy">
  49. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  50. <horstretch>0</horstretch>
  51. <verstretch>0</verstretch>
  52. </sizepolicy>
  53. </property>
  54. <property name="minimumSize">
  55. <size>
  56. <width>50</width>
  57. <height>0</height>
  58. </size>
  59. </property>
  60. <property name="toolTip">
  61. <string>Enter fixed label or leave empty for automatic label</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item>
  66. <widget class="Line" name="line">
  67. <property name="orientation">
  68. <enum>Qt::Vertical</enum>
  69. </property>
  70. </widget>
  71. </item>
  72. <item>
  73. <widget class="QToolButton" name="UpperToleranceIcon">
  74. <property name="minimumSize">
  75. <size>
  76. <width>22</width>
  77. <height>22</height>
  78. </size>
  79. </property>
  80. <property name="maximumSize">
  81. <size>
  82. <width>22</width>
  83. <height>22</height>
  84. </size>
  85. </property>
  86. <property name="styleSheet">
  87. <string notr="true">border: none;background-color:transparent;</string>
  88. </property>
  89. <property name="icon">
  90. <iconset>
  91. <normaloff>UpperToleranceIcon.svg</normaloff>UpperToleranceIcon.svg</iconset>
  92. </property>
  93. <property name="iconSize">
  94. <size>
  95. <width>22</width>
  96. <height>22</height>
  97. </size>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <widget class="QLineEdit" name="UpperTolerance">
  103. <property name="sizePolicy">
  104. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  105. <horstretch>0</horstretch>
  106. <verstretch>0</verstretch>
  107. </sizepolicy>
  108. </property>
  109. <property name="minimumSize">
  110. <size>
  111. <width>50</width>
  112. <height>0</height>
  113. </size>
  114. </property>
  115. <property name="maximumSize">
  116. <size>
  117. <width>50</width>
  118. <height>16777215</height>
  119. </size>
  120. </property>
  121. <property name="toolTip">
  122. <string>Upper tolerance</string>
  123. </property>
  124. </widget>
  125. </item>
  126. <item>
  127. <widget class="QToolButton" name="LowerToleranceIcon">
  128. <property name="minimumSize">
  129. <size>
  130. <width>22</width>
  131. <height>22</height>
  132. </size>
  133. </property>
  134. <property name="maximumSize">
  135. <size>
  136. <width>22</width>
  137. <height>22</height>
  138. </size>
  139. </property>
  140. <property name="styleSheet">
  141. <string notr="true">border: none;background-color:transparent;</string>
  142. </property>
  143. <property name="icon">
  144. <iconset>
  145. <normaloff>LowerToleranceIcon.svg</normaloff>LowerToleranceIcon.svg</iconset>
  146. </property>
  147. <property name="iconSize">
  148. <size>
  149. <width>22</width>
  150. <height>22</height>
  151. </size>
  152. </property>
  153. </widget>
  154. </item>
  155. <item>
  156. <widget class="QLineEdit" name="LowerTolerance">
  157. <property name="sizePolicy">
  158. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  159. <horstretch>0</horstretch>
  160. <verstretch>0</verstretch>
  161. </sizepolicy>
  162. </property>
  163. <property name="minimumSize">
  164. <size>
  165. <width>50</width>
  166. <height>0</height>
  167. </size>
  168. </property>
  169. <property name="maximumSize">
  170. <size>
  171. <width>50</width>
  172. <height>16777215</height>
  173. </size>
  174. </property>
  175. <property name="toolTip">
  176. <string>Lower tolerance</string>
  177. </property>
  178. </widget>
  179. </item>
  180. <item>
  181. <widget class="Line" name="ScaleSeparator">
  182. <property name="orientation">
  183. <enum>Qt::Vertical</enum>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QLabel" name="ScaleLabel">
  189. <property name="sizePolicy">
  190. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  191. <horstretch>0</horstretch>
  192. <verstretch>0</verstretch>
  193. </sizepolicy>
  194. </property>
  195. <property name="text">
  196. <string>Scale</string>
  197. </property>
  198. </widget>
  199. </item>
  200. <item>
  201. <widget class="RMathComboBox" name="Scale">
  202. <property name="minimumSize">
  203. <size>
  204. <width>90</width>
  205. <height>0</height>
  206. </size>
  207. </property>
  208. <property name="toolTip">
  209. <string>Drawing Scale</string>
  210. </property>
  211. <property name="editable">
  212. <bool>true</bool>
  213. </property>
  214. <property name="insertPolicy">
  215. <enum>QComboBox::NoInsert</enum>
  216. </property>
  217. <item>
  218. <property name="text">
  219. <string notr="true">1:1</string>
  220. </property>
  221. </item>
  222. </widget>
  223. </item>
  224. <item>
  225. <widget class="QCheckBox" name="AutoScale">
  226. <property name="text">
  227. <string>Auto</string>
  228. </property>
  229. </widget>
  230. </item>
  231. </layout>
  232. </widget>
  233. <customwidgets>
  234. <customwidget>
  235. <class>RMathComboBox</class>
  236. <extends>QComboBox</extends>
  237. <header>RMathComboBox.h</header>
  238. </customwidget>
  239. </customwidgets>
  240. <resources/>
  241. <connections>
  242. <connection>
  243. <sender>AutoScale</sender>
  244. <signal>toggled(bool)</signal>
  245. <receiver>Scale</receiver>
  246. <slot>setDisabled(bool)</slot>
  247. <hints>
  248. <hint type="sourcelabel">
  249. <x>680</x>
  250. <y>25</y>
  251. </hint>
  252. <hint type="destinationlabel">
  253. <x>605</x>
  254. <y>21</y>
  255. </hint>
  256. </hints>
  257. </connection>
  258. </connections>
  259. </ui>