comparison qt-gui/UnitWidgetLayout.cs @ 34:c3c64e139e5f default tip

Re #245: Create unit tab implementation * Create layout for unit tab widget * Start to populate values WARNING: Qyoto/Qt# seems unstable now and segfaults when new units are added!
author IBBoard <dev@ibboard.co.uk>
date Sat, 07 Aug 2010 16:02:53 +0000
parents
children
comparison
equal deleted inserted replaced
33:be876c03054f 34:c3c64e139e5f
1 /********************************************************************************
2 ** Form generated from reading ui file 'UnitWidgetLayout.ui'
3 **
4 ** Created: Sat Aug 7 16:50:14 2010
5 ** by: Qt User Interface Compiler for C# version 4.6.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_UnitWidgetLayout
14 {
15 public QTableView statsView;
16 public QSpinBox unitSize;
17 public QLabel unitSizeLabel;
18 public QLineEdit unitName;
19 public QLabel pointsSize;
20 public QListView listView;
21 public QLabel equipmentLabel;
22
23 public void SetupUi(QWidget UnitWidgetLayout)
24 {
25 if (UnitWidgetLayout.ObjectName == "")
26 UnitWidgetLayout.ObjectName = "UnitWidgetLayout";
27 QSize Size = new QSize(528, 362);
28 Size = Size.ExpandedTo(UnitWidgetLayout.MinimumSizeHint());
29 UnitWidgetLayout.Size = Size;
30 statsView = new QTableView(UnitWidgetLayout);
31 statsView.ObjectName = "statsView";
32 statsView.Geometry = new QRect(10, 40, 511, 101);
33 unitSize = new QSpinBox(UnitWidgetLayout);
34 unitSize.ObjectName = "unitSize";
35 unitSize.Geometry = new QRect(470, 10, 51, 25);
36 unitSizeLabel = new QLabel(UnitWidgetLayout);
37 unitSizeLabel.ObjectName = "unitSizeLabel";
38 unitSizeLabel.Geometry = new QRect(390, 10, 55, 15);
39 unitName = new QLineEdit(UnitWidgetLayout);
40 unitName.ObjectName = "unitName";
41 unitName.Geometry = new QRect(10, 10, 261, 25);
42 pointsSize = new QLabel(UnitWidgetLayout);
43 pointsSize.ObjectName = "pointsSize";
44 pointsSize.Geometry = new QRect(290, 10, 55, 15);
45 listView = new QListView(UnitWidgetLayout);
46 listView.ObjectName = "listView";
47 listView.Geometry = new QRect(110, 150, 311, 101);
48 equipmentLabel = new QLabel(UnitWidgetLayout);
49 equipmentLabel.ObjectName = "equipmentLabel";
50 equipmentLabel.Geometry = new QRect(10, 150, 91, 101);
51 equipmentLabel.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeading") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeft") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop");
52
53 RetranslateUi(UnitWidgetLayout);
54
55 QMetaObject.ConnectSlotsByName(UnitWidgetLayout);
56 } // SetupUi
57
58 public void RetranslateUi(QWidget UnitWidgetLayout)
59 {
60 UnitWidgetLayout.WindowTitle = QApplication.Translate("UnitWidgetLayout", "Form", null, QApplication.Encoding.UnicodeUTF8);
61 unitSizeLabel.Text = QApplication.Translate("UnitWidgetLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
62 pointsSize.Text = QApplication.Translate("UnitWidgetLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
63 equipmentLabel.Text = QApplication.Translate("UnitWidgetLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
64 } // RetranslateUi
65
66 }
67
68 namespace Ui {
69 public class UnitWidgetLayout : Ui_UnitWidgetLayout {}
70 } // namespace Ui
71