3
|
1 /********************************************************************************
|
|
2 ** Form generated from reading ui file 'CreateNewArmyLayout.ui'
|
|
3 **
|
|
4 ** Created: Sat Jan 23 20:40:44 2010
|
|
5 ** by: Qt User Interface Compiler for C# version 4.5.3
|
|
6 **
|
|
7 ** WARNING! All changes made in this file will be lost when recompiling ui file!
|
|
8 ********************************************************************************/
|
|
9
|
|
10
|
|
11 using Qyoto;
|
|
12
|
|
13 public class Ui_CreateNewArmyLayout
|
|
14 {
|
|
15 public QGridLayout gridLayout;
|
|
16 public QDialogButtonBox buttonBox;
|
|
17 public QComboBox gameSystems;
|
|
18 public QLabel lblGameSystem;
|
|
19 public QLabel lblRace;
|
|
20 public QListView raceList;
|
|
21 public QLabel lblArmyName;
|
|
22 public QLabel lblArmySize;
|
|
23 public QSpinBox armySize;
|
|
24 public QLineEdit armyName;
|
|
25
|
|
26 public void SetupUi(QDialog CreateNewArmyLayout)
|
|
27 {
|
|
28 if (CreateNewArmyLayout.ObjectName == "")
|
|
29 CreateNewArmyLayout.ObjectName = "CreateNewArmyLayout";
|
|
30 QSize Size = new QSize(400, 300);
|
|
31 Size = Size.ExpandedTo(CreateNewArmyLayout.MinimumSizeHint());
|
|
32 CreateNewArmyLayout.Size = Size;
|
|
33 gridLayout = new QGridLayout(CreateNewArmyLayout);
|
|
34 gridLayout.ObjectName = "gridLayout";
|
|
35 buttonBox = new QDialogButtonBox(CreateNewArmyLayout);
|
|
36 buttonBox.ObjectName = "buttonBox";
|
|
37 buttonBox.Orientation = Qt.Orientation.Horizontal;
|
|
38 buttonBox.StandardButtons = Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Cancel") | Qyoto.Qyoto.GetCPPEnumValue("QDialogButtonBox", "Ok");
|
|
39
|
|
40 gridLayout.AddWidget(buttonBox, 4, 2, 1, 1);
|
|
41
|
|
42 gameSystems = new QComboBox(CreateNewArmyLayout);
|
|
43 gameSystems.ObjectName = "gameSystems";
|
|
44
|
|
45 gridLayout.AddWidget(gameSystems, 0, 2, 1, 1);
|
|
46
|
|
47 lblGameSystem = new QLabel(CreateNewArmyLayout);
|
|
48 lblGameSystem.ObjectName = "lblGameSystem";
|
|
49 lblGameSystem.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignRight") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTrailing") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignVCenter");
|
|
50
|
|
51 gridLayout.AddWidget(lblGameSystem, 0, 0, 1, 1);
|
|
52
|
|
53 lblRace = new QLabel(CreateNewArmyLayout);
|
|
54 lblRace.ObjectName = "lblRace";
|
|
55 lblRace.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignRight") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTrailing");
|
|
56
|
|
57 gridLayout.AddWidget(lblRace, 1, 0, 1, 1);
|
|
58
|
|
59 raceList = new QListView(CreateNewArmyLayout);
|
|
60 raceList.ObjectName = "raceList";
|
|
61
|
|
62 gridLayout.AddWidget(raceList, 1, 2, 1, 1);
|
|
63
|
|
64 lblArmyName = new QLabel(CreateNewArmyLayout);
|
|
65 lblArmyName.ObjectName = "lblArmyName";
|
|
66 lblArmyName.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignRight") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTrailing") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignVCenter");
|
|
67
|
|
68 gridLayout.AddWidget(lblArmyName, 2, 0, 1, 1);
|
|
69
|
|
70 lblArmySize = new QLabel(CreateNewArmyLayout);
|
|
71 lblArmySize.ObjectName = "lblArmySize";
|
|
72 lblArmySize.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignRight") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTrailing") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignVCenter");
|
|
73
|
|
74 gridLayout.AddWidget(lblArmySize, 3, 0, 1, 1);
|
|
75
|
|
76 armySize = new QSpinBox(CreateNewArmyLayout);
|
|
77 armySize.ObjectName = "armySize";
|
|
78
|
|
79 gridLayout.AddWidget(armySize, 3, 2, 1, 1);
|
|
80
|
|
81 armyName = new QLineEdit(CreateNewArmyLayout);
|
|
82 armyName.ObjectName = "armyName";
|
|
83
|
|
84 gridLayout.AddWidget(armyName, 2, 2, 1, 1);
|
|
85
|
|
86
|
|
87 RetranslateUi(CreateNewArmyLayout);
|
|
88 QObject.Connect(buttonBox, Qt.SIGNAL("accepted()"), CreateNewArmyLayout, Qt.SLOT("accept()"));
|
|
89 QObject.Connect(buttonBox, Qt.SIGNAL("rejected()"), CreateNewArmyLayout, Qt.SLOT("reject()"));
|
|
90
|
|
91 QMetaObject.ConnectSlotsByName(CreateNewArmyLayout);
|
|
92 } // SetupUi
|
|
93
|
|
94 public void RetranslateUi(QDialog CreateNewArmyLayout)
|
|
95 {
|
|
96 CreateNewArmyLayout.WindowTitle = QApplication.Translate("CreateNewArmyLayout", "Dialog", null, QApplication.Encoding.UnicodeUTF8);
|
|
97 lblGameSystem.Text = QApplication.Translate("CreateNewArmyLayout", "game system:", null, QApplication.Encoding.UnicodeUTF8);
|
|
98 lblRace.Text = QApplication.Translate("CreateNewArmyLayout", "race:", null, QApplication.Encoding.UnicodeUTF8);
|
|
99 lblArmyName.Text = QApplication.Translate("CreateNewArmyLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
|
|
100 lblArmySize.Text = QApplication.Translate("CreateNewArmyLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
|
|
101 } // RetranslateUi
|
|
102
|
|
103 }
|
|
104
|
|
105 namespace Ui {
|
|
106 public class CreateNewArmyLayout : Ui_CreateNewArmyLayout {}
|
|
107 } // namespace Ui
|
|
108
|