ShapeRectangleSizeDialog.ui 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ShapeRectangleSize</class>
  4. <widget class="QDialog" name="ShapeRectangleSize">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>312</width>
  10. <height>151</height>
  11. </rect>
  12. </property>
  13. <layout class="QVBoxLayout" name="verticalLayout">
  14. <item>
  15. <layout class="QGridLayout" name="gridLayout" columnstretch="0,2,0,0">
  16. <item row="0" column="0">
  17. <widget class="QLabel" name="WidthLabel">
  18. <property name="text">
  19. <string>&amp;Width:</string>
  20. </property>
  21. <property name="buddy">
  22. <cstring>Width</cstring>
  23. </property>
  24. </widget>
  25. </item>
  26. <item row="2" column="1">
  27. <widget class="RMathLineEdit" name="Angle" native="true">
  28. <property name="text" stdset="0">
  29. <string notr="true">0</string>
  30. </property>
  31. <property name="angle" stdset="0">
  32. <bool>true</bool>
  33. </property>
  34. </widget>
  35. </item>
  36. <item row="2" column="0">
  37. <widget class="QLabel" name="AngleLabel">
  38. <property name="text">
  39. <string>Angle:</string>
  40. </property>
  41. <property name="buddy">
  42. <cstring>Angle</cstring>
  43. </property>
  44. </widget>
  45. </item>
  46. <item row="1" column="0">
  47. <widget class="QLabel" name="HeightLabel">
  48. <property name="text">
  49. <string>&amp;Height:</string>
  50. </property>
  51. <property name="buddy">
  52. <cstring>Height</cstring>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="0" column="1">
  57. <widget class="RMathLineEdit" name="Width" native="true">
  58. <property name="text" stdset="0">
  59. <string notr="true">0</string>
  60. </property>
  61. <property name="DefaultFocus" stdset="0">
  62. <bool>true</bool>
  63. </property>
  64. </widget>
  65. </item>
  66. <item row="1" column="1">
  67. <widget class="RMathLineEdit" name="Height" native="true">
  68. <property name="text" stdset="0">
  69. <string notr="true">0</string>
  70. </property>
  71. </widget>
  72. </item>
  73. <item row="0" column="2">
  74. <widget class="QLabel" name="WidthEqual">
  75. <property name="text">
  76. <string notr="true">=</string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="0" column="3">
  81. <widget class="QLabel" name="WidthResult">
  82. <property name="sizePolicy">
  83. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  84. <horstretch>0</horstretch>
  85. <verstretch>0</verstretch>
  86. </sizepolicy>
  87. </property>
  88. <property name="text">
  89. <string notr="true">0</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item row="1" column="2">
  94. <widget class="QLabel" name="HeightEqual">
  95. <property name="text">
  96. <string notr="true">=</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item row="1" column="3">
  101. <widget class="QLabel" name="HeightResult">
  102. <property name="sizePolicy">
  103. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  104. <horstretch>0</horstretch>
  105. <verstretch>0</verstretch>
  106. </sizepolicy>
  107. </property>
  108. <property name="text">
  109. <string notr="true">0</string>
  110. </property>
  111. </widget>
  112. </item>
  113. <item row="2" column="2">
  114. <widget class="QLabel" name="AngleEqual">
  115. <property name="text">
  116. <string notr="true">=</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item row="2" column="3">
  121. <widget class="QLabel" name="AngleResult">
  122. <property name="sizePolicy">
  123. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  124. <horstretch>0</horstretch>
  125. <verstretch>0</verstretch>
  126. </sizepolicy>
  127. </property>
  128. <property name="text">
  129. <string notr="true">0</string>
  130. </property>
  131. </widget>
  132. </item>
  133. </layout>
  134. </item>
  135. <item>
  136. <layout class="QHBoxLayout" name="horizontalLayout">
  137. <item>
  138. <widget class="QCheckBox" name="CreatePolyline">
  139. <property name="text">
  140. <string>Create Polyline</string>
  141. </property>
  142. </widget>
  143. </item>
  144. <item>
  145. <widget class="QDialogButtonBox" name="ButtonBox">
  146. <property name="orientation">
  147. <enum>Qt::Horizontal</enum>
  148. </property>
  149. <property name="standardButtons">
  150. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  151. </property>
  152. </widget>
  153. </item>
  154. </layout>
  155. </item>
  156. </layout>
  157. </widget>
  158. <customwidgets>
  159. <customwidget>
  160. <class>RMathLineEdit</class>
  161. <extends>QWidget</extends>
  162. <header>rmathlineedit.h</header>
  163. </customwidget>
  164. </customwidgets>
  165. <tabstops>
  166. <tabstop>Width</tabstop>
  167. <tabstop>Height</tabstop>
  168. <tabstop>Angle</tabstop>
  169. <tabstop>CreatePolyline</tabstop>
  170. </tabstops>
  171. <resources/>
  172. <connections>
  173. <connection>
  174. <sender>ButtonBox</sender>
  175. <signal>accepted()</signal>
  176. <receiver>ShapeRectangleSize</receiver>
  177. <slot>accept()</slot>
  178. <hints>
  179. <hint type="sourcelabel">
  180. <x>299</x>
  181. <y>138</y>
  182. </hint>
  183. <hint type="destinationlabel">
  184. <x>157</x>
  185. <y>274</y>
  186. </hint>
  187. </hints>
  188. </connection>
  189. <connection>
  190. <sender>ButtonBox</sender>
  191. <signal>rejected()</signal>
  192. <receiver>ShapeRectangleSize</receiver>
  193. <slot>reject()</slot>
  194. <hints>
  195. <hint type="sourcelabel">
  196. <x>299</x>
  197. <y>138</y>
  198. </hint>
  199. <hint type="destinationlabel">
  200. <x>286</x>
  201. <y>274</y>
  202. </hint>
  203. </hints>
  204. </connection>
  205. </connections>
  206. </ui>