Almond.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AlmondClass</class>
  4. <widget class="QMainWindow" name="AlmondClass">
  5. <property name="enabled">
  6. <bool>true</bool>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>1333</width>
  13. <height>1141</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Almond</string>
  18. </property>
  19. <widget class="QWidget" name="centralWidget">
  20. <layout class="QHBoxLayout" name="horizontalLayout">
  21. <item>
  22. <layout class="QVBoxLayout" name="mainContainer">
  23. <item>
  24. <layout class="QHBoxLayout" name="mandel_container"/>
  25. </item>
  26. </layout>
  27. </item>
  28. </layout>
  29. </widget>
  30. <widget class="QDockWidget" name="dockWidget_2">
  31. <property name="sizePolicy">
  32. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
  33. <horstretch>0</horstretch>
  34. <verstretch>0</verstretch>
  35. </sizepolicy>
  36. </property>
  37. <property name="features">
  38. <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
  39. </property>
  40. <property name="allowedAreas">
  41. <set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
  42. </property>
  43. <property name="windowTitle">
  44. <string>Options</string>
  45. </property>
  46. <attribute name="dockWidgetArea">
  47. <number>2</number>
  48. </attribute>
  49. <widget class="QWidget" name="dockWidgetContents_2">
  50. <layout class="QHBoxLayout" name="horizontalLayout_4">
  51. <item>
  52. <layout class="QVBoxLayout" name="verticalLayout_right">
  53. <item>
  54. <widget class="QGroupBox" name="grp_zoom">
  55. <property name="sizePolicy">
  56. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  57. <horstretch>0</horstretch>
  58. <verstretch>0</verstretch>
  59. </sizepolicy>
  60. </property>
  61. <property name="title">
  62. <string>Zoom</string>
  63. </property>
  64. <layout class="QGridLayout" name="gridLayout_2">
  65. <item row="1" column="1">
  66. <widget class="QPushButton" name="zoom_in">
  67. <property name="text">
  68. <string/>
  69. </property>
  70. <property name="icon">
  71. <iconset resource="../resources/Almond.qrc">
  72. <normaloff>:/icons/zoom_in</normaloff>:/icons/zoom_in</iconset>
  73. </property>
  74. <property name="iconSize">
  75. <size>
  76. <width>24</width>
  77. <height>24</height>
  78. </size>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="1" column="2">
  83. <widget class="QPushButton" name="zoom_out">
  84. <property name="text">
  85. <string/>
  86. </property>
  87. <property name="icon">
  88. <iconset resource="../resources/Almond.qrc">
  89. <normaloff>:/icons/zoom_out</normaloff>:/icons/zoom_out</iconset>
  90. </property>
  91. <property name="iconSize">
  92. <size>
  93. <width>24</width>
  94. <height>24</height>
  95. </size>
  96. </property>
  97. </widget>
  98. </item>
  99. <item row="1" column="0">
  100. <widget class="QPushButton" name="resetZoom">
  101. <property name="sizePolicy">
  102. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  103. <horstretch>0</horstretch>
  104. <verstretch>0</verstretch>
  105. </sizepolicy>
  106. </property>
  107. <property name="text">
  108. <string>Reset Zoom</string>
  109. </property>
  110. </widget>
  111. </item>
  112. </layout>
  113. </widget>
  114. </item>
  115. <item>
  116. <spacer name="verticalSpacer">
  117. <property name="orientation">
  118. <enum>Qt::Vertical</enum>
  119. </property>
  120. <property name="sizeHint" stdset="0">
  121. <size>
  122. <width>0</width>
  123. <height>0</height>
  124. </size>
  125. </property>
  126. </spacer>
  127. </item>
  128. <item>
  129. <widget class="QGroupBox" name="grp_display_opts">
  130. <property name="sizePolicy">
  131. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  132. <horstretch>0</horstretch>
  133. <verstretch>0</verstretch>
  134. </sizepolicy>
  135. </property>
  136. <property name="title">
  137. <string>Display/Calculation Options</string>
  138. </property>
  139. <layout class="QVBoxLayout" name="verticalLayout_3">
  140. <item>
  141. <layout class="QFormLayout" name="formLayout">
  142. <item row="1" column="0">
  143. <widget class="QLabel" name="label">
  144. <property name="text">
  145. <string>Max. Iterations</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item row="1" column="1">
  150. <widget class="QLineEdit" name="maxIterations">
  151. <property name="text">
  152. <string>500</string>
  153. </property>
  154. <property name="maxLength">
  155. <number>32</number>
  156. </property>
  157. </widget>
  158. </item>
  159. <item row="2" column="0" colspan="2">
  160. <widget class="QCheckBox" name="smooth">
  161. <property name="text">
  162. <string>smooth coloring</string>
  163. </property>
  164. <property name="checked">
  165. <bool>true</bool>
  166. </property>
  167. </widget>
  168. </item>
  169. <item row="3" column="0" colspan="2">
  170. <widget class="QCheckBox" name="displayInfo">
  171. <property name="text">
  172. <string>display scale</string>
  173. </property>
  174. </widget>
  175. </item>
  176. <item row="4" column="0" colspan="2">
  177. <widget class="QPushButton" name="chooseGenerator">
  178. <property name="text">
  179. <string>Select Generators</string>
  180. </property>
  181. </widget>
  182. </item>
  183. <item row="0" column="0" colspan="2">
  184. <widget class="QPushButton" name="chooseGradient">
  185. <property name="sizePolicy">
  186. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  187. <horstretch>0</horstretch>
  188. <verstretch>0</verstretch>
  189. </sizepolicy>
  190. </property>
  191. <property name="text">
  192. <string>Choose Gradient</string>
  193. </property>
  194. </widget>
  195. </item>
  196. </layout>
  197. </item>
  198. </layout>
  199. </widget>
  200. </item>
  201. <item>
  202. <spacer name="verticalSpacer_2">
  203. <property name="orientation">
  204. <enum>Qt::Vertical</enum>
  205. </property>
  206. <property name="sizeHint" stdset="0">
  207. <size>
  208. <width>0</width>
  209. <height>0</height>
  210. </size>
  211. </property>
  212. </spacer>
  213. </item>
  214. <item>
  215. <widget class="QGroupBox" name="grp_fractal">
  216. <property name="sizePolicy">
  217. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  218. <horstretch>0</horstretch>
  219. <verstretch>0</verstretch>
  220. </sizepolicy>
  221. </property>
  222. <property name="title">
  223. <string>Fractal</string>
  224. </property>
  225. <layout class="QVBoxLayout" name="verticalLayout">
  226. <item>
  227. <widget class="QRadioButton" name="wMandel">
  228. <property name="text">
  229. <string>Mandelbrot Set</string>
  230. </property>
  231. <property name="checked">
  232. <bool>true</bool>
  233. </property>
  234. </widget>
  235. </item>
  236. <item>
  237. <widget class="QRadioButton" name="radioButton">
  238. <property name="text">
  239. <string>Quadratic Julia Set</string>
  240. </property>
  241. </widget>
  242. </item>
  243. <item>
  244. <layout class="QHBoxLayout" name="horizontalLayout_2">
  245. <item>
  246. <widget class="QRadioButton" name="radioButton_2">
  247. <property name="text">
  248. <string>Custom Formula</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item>
  253. <widget class="QPushButton" name="createCustom">
  254. <property name="text">
  255. <string>Change</string>
  256. </property>
  257. </widget>
  258. </item>
  259. </layout>
  260. </item>
  261. </layout>
  262. </widget>
  263. </item>
  264. <item>
  265. <spacer name="verticalSpacer_3">
  266. <property name="orientation">
  267. <enum>Qt::Vertical</enum>
  268. </property>
  269. <property name="sizeHint" stdset="0">
  270. <size>
  271. <width>0</width>
  272. <height>0</height>
  273. </size>
  274. </property>
  275. </spacer>
  276. </item>
  277. <item>
  278. <widget class="QGroupBox" name="grp_export_box">
  279. <property name="sizePolicy">
  280. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  281. <horstretch>0</horstretch>
  282. <verstretch>0</verstretch>
  283. </sizepolicy>
  284. </property>
  285. <property name="title">
  286. <string>Export</string>
  287. </property>
  288. <layout class="QGridLayout" name="gridLayout">
  289. <item row="2" column="0">
  290. <widget class="QProgressBar" name="backgroundProgress">
  291. <property name="enabled">
  292. <bool>true</bool>
  293. </property>
  294. <property name="maximum">
  295. <number>1</number>
  296. </property>
  297. <property name="value">
  298. <number>0</number>
  299. </property>
  300. <property name="alignment">
  301. <set>Qt::AlignCenter</set>
  302. </property>
  303. <property name="format">
  304. <string>Export Progress</string>
  305. </property>
  306. </widget>
  307. </item>
  308. <item row="0" column="0" colspan="2">
  309. <widget class="QPushButton" name="exportVideo">
  310. <property name="text">
  311. <string>Export Video</string>
  312. </property>
  313. </widget>
  314. </item>
  315. <item row="1" column="0" colspan="2">
  316. <widget class="QPushButton" name="exportImage">
  317. <property name="text">
  318. <string>Export Image</string>
  319. </property>
  320. </widget>
  321. </item>
  322. <item row="2" column="1">
  323. <widget class="QPushButton" name="cancelProgress">
  324. <property name="text">
  325. <string/>
  326. </property>
  327. <property name="icon">
  328. <iconset theme="cancel">
  329. <normaloff>.</normaloff>.</iconset>
  330. </property>
  331. </widget>
  332. </item>
  333. </layout>
  334. </widget>
  335. </item>
  336. <item>
  337. <widget class="QPushButton" name="aboutBtn">
  338. <property name="text">
  339. <string>About</string>
  340. </property>
  341. </widget>
  342. </item>
  343. </layout>
  344. </item>
  345. </layout>
  346. </widget>
  347. </widget>
  348. <action name="actionExit">
  349. <property name="text">
  350. <string>Exit</string>
  351. </property>
  352. </action>
  353. </widget>
  354. <layoutdefault spacing="6" margin="11"/>
  355. <resources>
  356. <include location="../resources/Almond.qrc"/>
  357. </resources>
  358. <connections/>
  359. </ui>