Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
view qt-gui/CreateNewArmyLayout.ui @ 13:dbe784f0802c
Re #246: Create army tree implementation
* Create model for the army tree view
Re #242: Create Qt# UI for WarFoundry
* Add actions directly rather than creating a list
Re #247: Implement menu options in Qt# app
* Implement enable/disable on undo/redo menu items
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 13 Feb 2010 10:34:41 +0000 |
parents | 8a8735679d55 |
children | 7eaa8a1715e2 |
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="windowModality"> <enum>Qt::WindowModal</enum> </property> <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="2" column="0"> <widget class="QLabel" name="lblArmyName"> <property name="text"> <string>army name:</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>army size:</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"> <property name="frame"> <bool>true</bool> </property> <property name="buttonSymbols"> <enum>QAbstractSpinBox::UpDownArrows</enum> </property> <property name="maximum"> <number>100000</number> </property> <property name="singleStep"> <number>10</number> </property> <property name="value"> <number>2000</number> </property> </widget> </item> <item row="2" column="2"> <widget class="QLineEdit" name="armyName"/> </item> <item row="1" column="2"> <widget class="QListWidget" name="raceList"/> </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>