Almond.ui 11 KB

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