Sun, 08 Sep 2013 17:18:50 +0300
actually use the BuildType enum
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>DemoPrompt</class> <widget class="QDialog" name="DemoPrompt"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>319</width> <height>164</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <property name="windowIcon"> <iconset resource="../../zandemo.qrc"> <normaloff>:/icons/zandemo.ico</normaloff>:/icons/zandemo.ico</iconset> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="demoNameLabel"> <property name="font"> <font> <pointsize>11</pointsize> <weight>75</weight> <italic>false</italic> <bold>true</bold> </font> </property> <property name="text"> <string>[[ DEMO NAME ]]</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Zandronum Version:</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Recorder:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLabel" name="versionLabel"> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>[[ VERSION ]]</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLabel" name="demoRecorder"> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>[[ RECORDER ]]</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>IWAD:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLabel" name="iwadLabel"> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>[[ IWAD ]]</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>PWADs:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="4" column="1"> <widget class="QLabel" name="pwadsLabel"> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>[[ PWADS ]]</string> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </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> <include location="../../zandemo.qrc"/> </resources> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>DemoPrompt</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>DemoPrompt</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>