<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CheatsDialog</class> <widget class="QDialog" name="CheatsDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>609</width> <height>417</height> </rect> </property> <property name="windowTitle"> <string>Cheat code editor - melonDS</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</enum> </property> <item> <widget class="QPushButton" name="btnNewCat"> <property name="text"> <string>New category</string> </property> </widget> </item> <item> <widget class="QPushButton" name="btnNewARCode"> <property name="text"> <string>New AR code</string> </property> </widget> </item> <item> <widget class="QPushButton" name="btnDeleteCode"> <property name="text"> <string>Delete</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QTreeView" name="tvCodeList"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>2</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> <property name="headerHidden"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPlainTextEdit" name="txtCode"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>3</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>200</width> <height>0</height> </size> </property> </widget> </item> </layout> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>CheatsDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>304</x> <y>396</y> </hint> <hint type="destinationlabel"> <x>304</x> <y>208</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>CheatsDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>304</x> <y>396</y> </hint> <hint type="destinationlabel"> <x>304</x> <y>208</y> </hint> </hints> </connection> </connections> </ui>