customgenerator.ui 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CustomGenerator</class>
  4. <widget class="QDialog" name="CustomGenerator">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>892</width>
  10. <height>556</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout_4">
  19. <item>
  20. <widget class="QLabel" name="label_3">
  21. <property name="sizePolicy">
  22. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  23. <horstretch>0</horstretch>
  24. <verstretch>0</verstretch>
  25. </sizepolicy>
  26. </property>
  27. <property name="text">
  28. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Formula Editor&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <layout class="QVBoxLayout" name="verticalLayout_5">
  34. <item>
  35. <layout class="QFormLayout" name="formLayout">
  36. <item row="3" column="0">
  37. <widget class="QLabel" name="label_2">
  38. <property name="font">
  39. <font>
  40. <pointsize>12</pointsize>
  41. </font>
  42. </property>
  43. <property name="text">
  44. <string>z := </string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="3" column="1">
  49. <widget class="QLineEdit" name="formula_zi">
  50. <property name="font">
  51. <font>
  52. <pointsize>12</pointsize>
  53. </font>
  54. </property>
  55. <property name="text">
  56. <string>z^2+c</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="5" column="0">
  61. <widget class="QPushButton" name="benchmark">
  62. <property name="text">
  63. <string>Benchmark</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item row="5" column="1">
  68. <widget class="QLineEdit" name="compBenchResult"/>
  69. </item>
  70. <item row="0" column="0" colspan="2">
  71. <widget class="QLabel" name="descriptionInitial">
  72. <property name="font">
  73. <font>
  74. <pointsize>12</pointsize>
  75. </font>
  76. </property>
  77. <property name="text">
  78. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Initial Iteration Value&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Specify the initial value for z depending on c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  79. </property>
  80. <property name="textFormat">
  81. <enum>Qt::RichText</enum>
  82. </property>
  83. </widget>
  84. </item>
  85. <item row="1" column="0">
  86. <widget class="QLabel" name="label_5">
  87. <property name="font">
  88. <font>
  89. <pointsize>12</pointsize>
  90. </font>
  91. </property>
  92. <property name="text">
  93. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;z&lt;span style=&quot; vertical-align:sub;&quot;&gt;0&lt;/span&gt; = &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  94. </property>
  95. <property name="textFormat">
  96. <enum>Qt::RichText</enum>
  97. </property>
  98. </widget>
  99. </item>
  100. <item row="1" column="1">
  101. <widget class="QLineEdit" name="formula_z0">
  102. <property name="font">
  103. <font>
  104. <pointsize>12</pointsize>
  105. </font>
  106. </property>
  107. <property name="text">
  108. <string>0</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item row="2" column="0" colspan="2">
  113. <widget class="QLabel" name="label_4">
  114. <property name="font">
  115. <font>
  116. <pointsize>12</pointsize>
  117. </font>
  118. </property>
  119. <property name="text">
  120. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Iteration Formula&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Specify the iteration formula in terms of z and c.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item row="4" column="1">
  125. <spacer name="verticalSpacer">
  126. <property name="orientation">
  127. <enum>Qt::Vertical</enum>
  128. </property>
  129. <property name="sizeHint" stdset="0">
  130. <size>
  131. <width>20</width>
  132. <height>40</height>
  133. </size>
  134. </property>
  135. </spacer>
  136. </item>
  137. </layout>
  138. </item>
  139. <item>
  140. <widget class="QPushButton" name="compile">
  141. <property name="text">
  142. <string>Compile</string>
  143. </property>
  144. </widget>
  145. </item>
  146. </layout>
  147. </item>
  148. </layout>
  149. </item>
  150. <item>
  151. <widget class="QDialogButtonBox" name="buttonBox">
  152. <property name="orientation">
  153. <enum>Qt::Horizontal</enum>
  154. </property>
  155. <property name="standardButtons">
  156. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  157. </property>
  158. </widget>
  159. </item>
  160. </layout>
  161. </widget>
  162. <resources/>
  163. <connections>
  164. <connection>
  165. <sender>buttonBox</sender>
  166. <signal>accepted()</signal>
  167. <receiver>CustomGenerator</receiver>
  168. <slot>accept()</slot>
  169. <hints>
  170. <hint type="sourcelabel">
  171. <x>248</x>
  172. <y>254</y>
  173. </hint>
  174. <hint type="destinationlabel">
  175. <x>157</x>
  176. <y>274</y>
  177. </hint>
  178. </hints>
  179. </connection>
  180. <connection>
  181. <sender>buttonBox</sender>
  182. <signal>rejected()</signal>
  183. <receiver>CustomGenerator</receiver>
  184. <slot>reject()</slot>
  185. <hints>
  186. <hint type="sourcelabel">
  187. <x>316</x>
  188. <y>260</y>
  189. </hint>
  190. <hint type="destinationlabel">
  191. <x>286</x>
  192. <y>274</y>
  193. </hint>
  194. </hints>
  195. </connection>
  196. </connections>
  197. </ui>