<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>EditorDialog</class> <widget class="QDialog" name="EditorDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>690</width> <height>147</height> </rect> </property> <property name="windowTitle"> <string>Editor</string> </property> <property name="modal"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QPlainTextEdit" name="plainTextEdit"> <property name="font"> <font> <family>Lucida Console</family> </font> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="acceptButton"> <property name="minimumSize"> <size> <width>96</width> <height>0</height> </size> </property> <property name="text"> <string>OK</string> </property> </widget> </item> <item> <widget class="QPushButton" name="cancelButton"> <property name="minimumSize"> <size> <width>96</width> <height>0</height> </size> </property> <property name="text"> <string>Cancel</string> </property> </widget> </item> </layout> </item> </layout> </widget> <tabstops> <tabstop>plainTextEdit</tabstop> <tabstop>acceptButton</tabstop> <tabstop>cancelButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>acceptButton</sender> <signal>clicked()</signal> <receiver>EditorDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>455</x> <y>304</y> </hint> <hint type="destinationlabel"> <x>307</x> <y>162</y> </hint> </hints> </connection> <connection> <sender>cancelButton</sender> <signal>clicked()</signal> <receiver>EditorDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>557</x> <y>304</y> </hint> <hint type="destinationlabel"> <x>307</x> <y>162</y> </hint> </hints> </connection> </connections> </ui>