EllipseRRDialog.ui 5.3 KB

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