Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
view qt-gui/CreateNewArmyLayout.ui @ 3:ac1bf60edf63
Re #242: Qt# UI
* Make use of icons
Re #243: Create "New Army" dialog in Qt# app
* Create initial rendering of dialog (non-functional)
Re #247: Implement menu options in Qt# app
* Add initial hook for New Army dialog from menu item
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 23 Jan 2010 20:54:42 +0000 |
parents | |
children | bbf40d66dfe4 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>CreateNewArmyLayout</class> <widget class="QDialog" name="CreateNewArmyLayout"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="4" column="2"> <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> <item row="0" column="2"> <widget class="QComboBox" name="gameSystems"/> </item> <item row="0" column="0"> <widget class="QLabel" name="lblGameSystem"> <property name="text"> <string>game system:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="lblRace"> <property name="text"> <string>race:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set> </property> </widget> </item> <item row="1" column="2"> <widget class="QListView" name="raceList"/> </item> <item row="2" column="0"> <widget class="QLabel" name="lblArmyName"> <property name="text"> <string>TextLabel</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="lblArmySize"> <property name="text"> <string>TextLabel</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="3" column="2"> <widget class="QSpinBox" name="armySize"/> </item> <item row="2" column="2"> <widget class="QLineEdit" name="armyName"/> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>CreateNewArmyLayout</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>CreateNewArmyLayout</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>