DimensionScaleDialog.ui 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DimensionScaleDialog</class>
  4. <widget class="QDialog" name="DimensionScaleDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>179</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dimension Scale</string>
  15. </property>
  16. <property name="modal">
  17. <bool>true</bool>
  18. </property>
  19. <layout class="QVBoxLayout">
  20. <item>
  21. <widget class="QLabel" name="label">
  22. <property name="text">
  23. <string>The scale for new dimensions is not 1:1. Dimension labels will show values that differ from the measured value in the drawing. You can correct the scale factor in the options toolbar at the top.</string>
  24. </property>
  25. <property name="wordWrap">
  26. <bool>true</bool>
  27. </property>
  28. </widget>
  29. </item>
  30. <item>
  31. <widget class="QCheckBox" name="DontShowDialog">
  32. <property name="text">
  33. <string>Don't show this warning again</string>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="QDialogButtonBox" name="ButtonBox">
  39. <property name="standardButtons">
  40. <set>QDialogButtonBox::Ok</set>
  41. </property>
  42. </widget>
  43. </item>
  44. </layout>
  45. </widget>
  46. <tabstops>
  47. <tabstop>ButtonBox</tabstop>
  48. </tabstops>
  49. <resources/>
  50. <connections>
  51. <connection>
  52. <sender>ButtonBox</sender>
  53. <signal>accepted()</signal>
  54. <receiver>DimensionScaleDialog</receiver>
  55. <slot>accept()</slot>
  56. <hints>
  57. <hint type="sourcelabel">
  58. <x>274</x>
  59. <y>251</y>
  60. </hint>
  61. <hint type="destinationlabel">
  62. <x>286</x>
  63. <y>227</y>
  64. </hint>
  65. </hints>
  66. </connection>
  67. <connection>
  68. <sender>ButtonBox</sender>
  69. <signal>rejected()</signal>
  70. <receiver>DimensionScaleDialog</receiver>
  71. <slot>reject()</slot>
  72. <hints>
  73. <hint type="sourcelabel">
  74. <x>230</x>
  75. <y>251</y>
  76. </hint>
  77. <hint type="destinationlabel">
  78. <x>236</x>
  79. <y>209</y>
  80. </hint>
  81. </hints>
  82. </connection>
  83. </connections>
  84. </ui>