<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CustomGenerator</class> <widget class="QDialog" name="CustomGenerator"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>725</width> <height>303</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="10,0,17"> <item> <widget class="QLabel" name="label_3"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string><html><head/><body><p><span style=" font-size:12pt; font-weight:600;">Formula Editor</span></p><p><br/></p><p><span style=" font-size:9pt;">Almond applies an escape-time algorithm to display fractals. A formula can be entered in this form, which will then be iteratively applied to complex numbers until its absolute value reaches a certain threshold. Depending on how many iterations were needed to reach the threshold, a different color is applied to the image.</span></p></body></html></string> </property> <property name="textFormat"> <enum>Qt::AutoText</enum> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0" colspan="2"> <widget class="QLabel" name="descriptionInitial"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string><html><head/><body><p><span style=" font-weight:600;">Initial Iteration Value</span></p><p><span style=" font-size:9pt;">Specify the initial value for z depending on c.</span></p></body></html></string> </property> <property name="textFormat"> <enum>Qt::RichText</enum> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_5"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string><html><head/><body><p>z<span style=" vertical-align:sub;">0</span> = </p></body></html></string> </property> <property name="textFormat"> <enum>Qt::RichText</enum> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="formula_z0"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string>0</string> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QLabel" name="label_4"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string><html><head/><body><p><span style=" font-weight:600;">Iteration Formula</span></p><p><span style=" font-size:9pt;">Specify the iteration formula in terms of z and c.</span></p></body></html></string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_2"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string>z := </string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLineEdit" name="formula_zi"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string>z^2+c</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>CustomGenerator</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>CustomGenerator</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>