view 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
line wrap: on
line source

/********************************************************************************
** Form generated from reading ui file 'UnitWidgetLayout.ui'
**
** Created: Sat Aug 7 16:50:14 2010
**      by: Qt User Interface Compiler for C# version 4.6.3
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/


using Qyoto;

public class Ui_UnitWidgetLayout
{
    public QTableView statsView;
    public QSpinBox unitSize;
    public QLabel unitSizeLabel;
    public QLineEdit unitName;
    public QLabel pointsSize;
    public QListView listView;
    public QLabel equipmentLabel;

    public void SetupUi(QWidget UnitWidgetLayout)
    {
    if (UnitWidgetLayout.ObjectName == "")
        UnitWidgetLayout.ObjectName = "UnitWidgetLayout";
    QSize Size = new QSize(528, 362);
    Size = Size.ExpandedTo(UnitWidgetLayout.MinimumSizeHint());
    UnitWidgetLayout.Size = Size;
    statsView = new QTableView(UnitWidgetLayout);
    statsView.ObjectName = "statsView";
    statsView.Geometry = new QRect(10, 40, 511, 101);
    unitSize = new QSpinBox(UnitWidgetLayout);
    unitSize.ObjectName = "unitSize";
    unitSize.Geometry = new QRect(470, 10, 51, 25);
    unitSizeLabel = new QLabel(UnitWidgetLayout);
    unitSizeLabel.ObjectName = "unitSizeLabel";
    unitSizeLabel.Geometry = new QRect(390, 10, 55, 15);
    unitName = new QLineEdit(UnitWidgetLayout);
    unitName.ObjectName = "unitName";
    unitName.Geometry = new QRect(10, 10, 261, 25);
    pointsSize = new QLabel(UnitWidgetLayout);
    pointsSize.ObjectName = "pointsSize";
    pointsSize.Geometry = new QRect(290, 10, 55, 15);
    listView = new QListView(UnitWidgetLayout);
    listView.ObjectName = "listView";
    listView.Geometry = new QRect(110, 150, 311, 101);
    equipmentLabel = new QLabel(UnitWidgetLayout);
    equipmentLabel.ObjectName = "equipmentLabel";
    equipmentLabel.Geometry = new QRect(10, 150, 91, 101);
    equipmentLabel.Alignment = Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeading") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignLeft") | Qyoto.Qyoto.GetCPPEnumValue("Qt", "AlignTop");

    RetranslateUi(UnitWidgetLayout);

    QMetaObject.ConnectSlotsByName(UnitWidgetLayout);
    } // SetupUi

    public void RetranslateUi(QWidget UnitWidgetLayout)
    {
    UnitWidgetLayout.WindowTitle = QApplication.Translate("UnitWidgetLayout", "Form", null, QApplication.Encoding.UnicodeUTF8);
    unitSizeLabel.Text = QApplication.Translate("UnitWidgetLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
    pointsSize.Text = QApplication.Translate("UnitWidgetLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
    equipmentLabel.Text = QApplication.Translate("UnitWidgetLayout", "TextLabel", null, QApplication.Encoding.UnicodeUTF8);
    } // RetranslateUi

}

namespace Ui {
    public class UnitWidgetLayout : Ui_UnitWidgetLayout {}
} // namespace Ui