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

#ifndef JOYSTICKWIDGET_H
#define JOYSTICKWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDial>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLCDNumber>
#include <QtGui/QProgressBar>
#include <QtGui/QSlider>

QT_BEGIN_NAMESPACE

class Ui_JoystickWidget
{
public:
    QDialogButtonBox *buttonBox;
    QProgressBar *thrust;
    QSlider *ySlider;
    QSlider *xSlider;
    QLCDNumber *xValue;
    QLCDNumber *yValue;
    QDial *dial;
    QGroupBox *button0Label;

40
    void setupUi(QDialog *JoystickWidget) {
41 42 43 44 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
        if (JoystickWidget->objectName().isEmpty())
            JoystickWidget->setObjectName(QString::fromUtf8("JoystickWidget"));
        JoystickWidget->resize(400, 300);
        buttonBox = new QDialogButtonBox(JoystickWidget);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setGeometry(QRect(30, 240, 341, 32));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
        thrust = new QProgressBar(JoystickWidget);
        thrust->setObjectName(QString::fromUtf8("thrust"));
        thrust->setGeometry(QRect(350, 20, 31, 181));
        thrust->setValue(0);
        thrust->setOrientation(Qt::Vertical);
        ySlider = new QSlider(JoystickWidget);
        ySlider->setObjectName(QString::fromUtf8("ySlider"));
        ySlider->setGeometry(QRect(160, 190, 160, 17));
        ySlider->setMaximum(100);
        ySlider->setOrientation(Qt::Horizontal);
        xSlider = new QSlider(JoystickWidget);
        xSlider->setObjectName(QString::fromUtf8("xSlider"));
        xSlider->setGeometry(QRect(140, 40, 17, 160));
        xSlider->setMaximum(100);
        xSlider->setOrientation(Qt::Vertical);
        xValue = new QLCDNumber(JoystickWidget);
        xValue->setObjectName(QString::fromUtf8("xValue"));
        xValue->setGeometry(QRect(160, 50, 41, 23));
        xValue->setFrameShadow(QFrame::Plain);
        xValue->setSmallDecimalPoint(true);
        xValue->setNumDigits(3);
        xValue->setSegmentStyle(QLCDNumber::Flat);
        yValue = new QLCDNumber(JoystickWidget);
        yValue->setObjectName(QString::fromUtf8("yValue"));
        yValue->setGeometry(QRect(270, 160, 41, 23));
        yValue->setFrameShadow(QFrame::Plain);
        yValue->setSmallDecimalPoint(true);
        yValue->setNumDigits(3);
        yValue->setSegmentStyle(QLCDNumber::Flat);
        dial = new QDial(JoystickWidget);
        dial->setObjectName(QString::fromUtf8("dial"));
        dial->setGeometry(QRect(210, 50, 101, 101));
        button0Label = new QGroupBox(JoystickWidget);
        button0Label->setObjectName(QString::fromUtf8("button0Label"));
        button0Label->setGeometry(QRect(60, 20, 41, 16));
        button0Label->setAutoFillBackground(false);
        button0Label->setFlat(false);

        retranslateUi(JoystickWidget);
        QObject::connect(buttonBox, SIGNAL(accepted()), JoystickWidget, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), JoystickWidget, SLOT(reject()));

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

94
    void retranslateUi(QDialog *JoystickWidget) {
95 96 97 98 99 100 101
        JoystickWidget->setWindowTitle(QApplication::translate("JoystickWidget", "Dialog", 0, QApplication::UnicodeUTF8));
        button0Label->setStyleSheet(QApplication::translate("JoystickWidget", "QGroupBox { border: 1px solid #EEEEEE; border-radius: 4px; padding: 0px; margin: 0px; background-color: #FF2222;}", 0, QApplication::UnicodeUTF8));
        button0Label->setTitle(QString());
    } // retranslateUi

};

102 103 104
namespace Ui
{
class JoystickWidget: public Ui_JoystickWidget {};
105 106 107 108 109
} // namespace Ui

QT_END_NAMESPACE

#endif // JOYSTICKWIDGET_H