UASControl.h 5.95 KB
Newer Older
1 2
/********************************************************************************
** Form generated from reading UI file 'UASControl.ui'
3
**
4 5
** Created: Sun Jul 11 18:53:34 2010
**      by: Qt User Interface Compiler version 4.6.2
6
**
7 8
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
9

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
#ifndef UASCONTROL_H
#define UASCONTROL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_uasControl
{
public:
    QGridLayout *gridLayout;
    QLabel *controlStatusLabel;
    QPushButton *controlButton;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *horizontalSpacer;
    QPushButton *liftoffButton;
    QPushButton *landButton;
    QPushButton *shutdownButton;
    QSpacerItem *horizontalSpacer_2;
    QComboBox *modeComboBox;
    QPushButton *setModeButton;
    QLabel *lastActionLabel;
    QSpacerItem *verticalSpacer;

44
    void setupUi(QWidget *uasControl) {
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
        if (uasControl->objectName().isEmpty())
            uasControl->setObjectName(QString::fromUtf8("uasControl"));
        uasControl->resize(280, 164);
        uasControl->setMinimumSize(QSize(280, 130));
        gridLayout = new QGridLayout(uasControl);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setContentsMargins(6, 12, 6, 6);
        controlStatusLabel = new QLabel(uasControl);
        controlStatusLabel->setObjectName(QString::fromUtf8("controlStatusLabel"));
        controlStatusLabel->setAlignment(Qt::AlignCenter);

        gridLayout->addWidget(controlStatusLabel, 0, 1, 1, 4);

        controlButton = new QPushButton(uasControl);
        controlButton->setObjectName(QString::fromUtf8("controlButton"));

        gridLayout->addWidget(controlButton, 1, 1, 1, 4);

        verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);

        gridLayout->addItem(verticalSpacer_2, 2, 1, 1, 4);

        horizontalSpacer = new QSpacerItem(31, 159, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer, 0, 0, 6, 1);

        liftoffButton = new QPushButton(uasControl);
        liftoffButton->setObjectName(QString::fromUtf8("liftoffButton"));
        QIcon icon;
74
        icon.addFile(QString::fromUtf8(":/files/images/control/launch.svg"), QSize(), QIcon::Normal, QIcon::Off);
75 76 77 78 79 80 81
        liftoffButton->setIcon(icon);

        gridLayout->addWidget(liftoffButton, 3, 1, 1, 1);

        landButton = new QPushButton(uasControl);
        landButton->setObjectName(QString::fromUtf8("landButton"));
        QIcon icon1;
82
        icon1.addFile(QString::fromUtf8(":/files/images/control/land.svg"), QSize(), QIcon::Normal, QIcon::Off);
83 84 85 86 87 88 89
        landButton->setIcon(icon1);

        gridLayout->addWidget(landButton, 3, 2, 1, 2);

        shutdownButton = new QPushButton(uasControl);
        shutdownButton->setObjectName(QString::fromUtf8("shutdownButton"));
        QIcon icon2;
90
        icon2.addFile(QString::fromUtf8(":/files/images/actions/system-log-out.svg"), QSize(), QIcon::Normal, QIcon::Off);
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
        shutdownButton->setIcon(icon2);

        gridLayout->addWidget(shutdownButton, 3, 4, 1, 1);

        horizontalSpacer_2 = new QSpacerItem(30, 159, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer_2, 0, 5, 6, 1);

        modeComboBox = new QComboBox(uasControl);
        modeComboBox->setObjectName(QString::fromUtf8("modeComboBox"));

        gridLayout->addWidget(modeComboBox, 4, 1, 1, 2);

        setModeButton = new QPushButton(uasControl);
        setModeButton->setObjectName(QString::fromUtf8("setModeButton"));
        QIcon icon3;
107
        icon3.addFile(QString::fromUtf8(":/files/images/devices/network-wireless.svg"), QSize(), QIcon::Normal, QIcon::Off);
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
        setModeButton->setIcon(icon3);

        gridLayout->addWidget(setModeButton, 4, 3, 1, 2);

        lastActionLabel = new QLabel(uasControl);
        lastActionLabel->setObjectName(QString::fromUtf8("lastActionLabel"));
        lastActionLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);

        gridLayout->addWidget(lastActionLabel, 5, 1, 1, 4);

        verticalSpacer = new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer, 6, 0, 1, 6);

        gridLayout->setRowMinimumHeight(0, 5);
        gridLayout->setRowMinimumHeight(1, 10);
        gridLayout->setRowMinimumHeight(2, 10);
        gridLayout->setRowMinimumHeight(4, 10);
        gridLayout->setRowMinimumHeight(5, 5);

        retranslateUi(uasControl);

        QMetaObject::connectSlotsByName(uasControl);
    } // setupUi

133
    void retranslateUi(QWidget *uasControl) {
134 135 136 137 138 139 140 141 142 143 144 145
        uasControl->setWindowTitle(QApplication::translate("uasControl", "Form", 0, QApplication::UnicodeUTF8));
        controlStatusLabel->setText(QApplication::translate("uasControl", "UNCONNECTED", 0, QApplication::UnicodeUTF8));
        controlButton->setText(QApplication::translate("uasControl", "Activate Engine", 0, QApplication::UnicodeUTF8));
        liftoffButton->setText(QApplication::translate("uasControl", "Liftoff", 0, QApplication::UnicodeUTF8));
        landButton->setText(QApplication::translate("uasControl", "Land", 0, QApplication::UnicodeUTF8));
        shutdownButton->setText(QApplication::translate("uasControl", "Halt", 0, QApplication::UnicodeUTF8));
        setModeButton->setText(QApplication::translate("uasControl", "Set Mode", 0, QApplication::UnicodeUTF8));
        lastActionLabel->setText(QApplication::translate("uasControl", "No actions executed so far", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

146 147 148
namespace Ui
{
class uasControl: public Ui_uasControl {};
149 150 151 152 153
} // namespace Ui

QT_END_NAMESPACE

#endif // UASCONTROL_H