<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>TemplateEdit</class> <widget class="QDialog" name="TemplateEdit"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>774</width> <height>433</height> </rect> </property> <property name="windowTitle"> <string>Edit Template</string> </property> <widget class="QDialogButtonBox" name="buttonBox"> <property name="geometry"> <rect> <x>400</x> <y>380</y> <width>341</width> <height>32</height> </rect> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> <widget class="QTabWidget" name="tabWidget"> <property name="geometry"> <rect> <x>300</x> <y>30</y> <width>441</width> <height>331</height> </rect> </property> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="style"> <attribute name="title"> <string>Style</string> </attribute> <widget class="QWidget" name="verticalLayoutWidget"> <property name="geometry"> <rect> <x>10</x> <y>20</y> <width>401</width> <height>171</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QLabel" name="fontselection_label"> <property name="text"> <string>Font</string> </property> </widget> </item> <item> <widget class="QComboBox" name="fontSelection"> <item> <property name="text"> <string>Arial</string> </property> </item> <item> <property name="text"> <string>Impact</string> </property> </item> <item> <property name="text"> <string>Georgia</string> </property> </item> <item> <property name="text"> <string>Courier</string> </property> </item> <item> <property name="text"> <string>Verdana</string> </property> </item> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="fontsize_label"> <property name="text"> <string>Font size</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="fontsize"> <property name="minimum"> <number>9</number> </property> <property name="maximum"> <number>18</number> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="colorpalette_label"> <property name="text"> <string>Color pallet</string> </property> </widget> </item> <item> <widget class="QComboBox" name="colorpalette"> <item> <property name="text"> <string>Almond</string> </property> </item> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="linespacing_label"> <property name="text"> <string>Line spacing</string> </property> </widget> </item> <item> <widget class="QDoubleSpinBox" name="linespacing"> <property name="minimum"> <double>1.000000000000000</double> </property> <property name="maximum"> <double>3.000000000000000</double> </property> <property name="singleStep"> <double>0.250000000000000</double> </property> <property name="value"> <double>1.250000000000000</double> </property> </widget> </item> </layout> </item> </layout> </widget> </widget> <widget class="QWidget" name="template_2"> <attribute name="title"> <string>Template</string> </attribute> <widget class="QPlainTextEdit" name="plainTextEdit"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>441</width> <height>301</height> </rect> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAsNeeded</enum> </property> <property name="lineWrapMode"> <enum>QPlainTextEdit::NoWrap</enum> </property> </widget> </widget> </widget> <widget class="QWebView" name="webView"> <property name="geometry"> <rect> <x>20</x> <y>60</y> <width>251</width> <height>311</height> </rect> </property> <property name="url"> <url> <string>about:blank</string> </url> </property> </widget> <widget class="QLabel" name="label_5"> <property name="geometry"> <rect> <x>30</x> <y>30</y> <width>59</width> <height>14</height> </rect> </property> <property name="text"> <string>Preview</string> </property> </widget> </widget> <customwidgets> <customwidget> <class>QWebView</class> <extends>QWidget</extends> <header>QtWebKitWidgets/QWebView</header> </customwidget> </customwidgets> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>TemplateEdit</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>TemplateEdit</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>