00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DEMOMODE_H
00011 #define UI_DEMOMODE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSlider>
00026 #include <QtGui/QSpacerItem>
00027 #include <QtGui/QSpinBox>
00028
00029 namespace Gui {
00030 namespace Dialog {
00031
00032 class Ui_DemoMode
00033 {
00034 public:
00035 QGridLayout *gridLayout;
00036 QGroupBox *groupBox;
00037 QGridLayout *gridLayout1;
00038 QGroupBox *groupBox_2;
00039 QGridLayout *gridLayout2;
00040 QSlider *speedSlider;
00041 QLabel *label_2;
00042 QLabel *label;
00043 QHBoxLayout *hboxLayout;
00044 QCheckBox *fullscreen;
00045 QCheckBox *timerCheck;
00046 QSpinBox *timeout;
00047 QGroupBox *groupBox_3;
00048 QGridLayout *gridLayout3;
00049 QSlider *angleSlider;
00050 QLabel *label_4;
00051 QLabel *label_3;
00052 QSpacerItem *spacerItem;
00053 QHBoxLayout *hboxLayout1;
00054 QPushButton *playButton;
00055 QPushButton *stopButton;
00056 QSpacerItem *spacerItem1;
00057 QPushButton *okButton;
00058
00059 void setupUi(QDialog *Gui__Dialog__DemoMode)
00060 {
00061 if (Gui__Dialog__DemoMode->objectName().isEmpty())
00062 Gui__Dialog__DemoMode->setObjectName(QString::fromUtf8("Gui__Dialog__DemoMode"));
00063 Gui__Dialog__DemoMode->resize(269, 267);
00064 gridLayout = new QGridLayout(Gui__Dialog__DemoMode);
00065 #ifndef Q_OS_MAC
00066 gridLayout->setSpacing(6);
00067 #endif
00068 #ifndef Q_OS_MAC
00069 gridLayout->setMargin(9);
00070 #endif
00071 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00072 groupBox = new QGroupBox(Gui__Dialog__DemoMode);
00073 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00074 gridLayout1 = new QGridLayout(groupBox);
00075 #ifndef Q_OS_MAC
00076 gridLayout1->setSpacing(6);
00077 #endif
00078 #ifndef Q_OS_MAC
00079 gridLayout1->setMargin(9);
00080 #endif
00081 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00082 groupBox_2 = new QGroupBox(groupBox);
00083 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00084 gridLayout2 = new QGridLayout(groupBox_2);
00085 #ifndef Q_OS_MAC
00086 gridLayout2->setSpacing(6);
00087 #endif
00088 #ifndef Q_OS_MAC
00089 gridLayout2->setMargin(9);
00090 #endif
00091 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00092 speedSlider = new QSlider(groupBox_2);
00093 speedSlider->setObjectName(QString::fromUtf8("speedSlider"));
00094 speedSlider->setMinimum(1);
00095 speedSlider->setMaximum(100);
00096 speedSlider->setValue(5);
00097 speedSlider->setOrientation(Qt::Horizontal);
00098
00099 gridLayout2->addWidget(speedSlider, 0, 1, 1, 1);
00100
00101 label_2 = new QLabel(groupBox_2);
00102 label_2->setObjectName(QString::fromUtf8("label_2"));
00103
00104 gridLayout2->addWidget(label_2, 0, 2, 1, 1);
00105
00106 label = new QLabel(groupBox_2);
00107 label->setObjectName(QString::fromUtf8("label"));
00108
00109 gridLayout2->addWidget(label, 0, 0, 1, 1);
00110
00111
00112 gridLayout1->addWidget(groupBox_2, 1, 0, 1, 1);
00113
00114 hboxLayout = new QHBoxLayout();
00115 #ifndef Q_OS_MAC
00116 hboxLayout->setSpacing(6);
00117 #endif
00118 hboxLayout->setMargin(0);
00119 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00120 fullscreen = new QCheckBox(groupBox);
00121 fullscreen->setObjectName(QString::fromUtf8("fullscreen"));
00122
00123 hboxLayout->addWidget(fullscreen);
00124
00125 timerCheck = new QCheckBox(groupBox);
00126 timerCheck->setObjectName(QString::fromUtf8("timerCheck"));
00127
00128 hboxLayout->addWidget(timerCheck);
00129
00130 timeout = new QSpinBox(groupBox);
00131 timeout->setObjectName(QString::fromUtf8("timeout"));
00132 timeout->setEnabled(false);
00133 timeout->setMaximum(600);
00134 timeout->setValue(30);
00135
00136 hboxLayout->addWidget(timeout);
00137
00138
00139 gridLayout1->addLayout(hboxLayout, 3, 0, 1, 1);
00140
00141 groupBox_3 = new QGroupBox(groupBox);
00142 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
00143 gridLayout3 = new QGridLayout(groupBox_3);
00144 #ifndef Q_OS_MAC
00145 gridLayout3->setSpacing(6);
00146 #endif
00147 #ifndef Q_OS_MAC
00148 gridLayout3->setMargin(9);
00149 #endif
00150 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
00151 angleSlider = new QSlider(groupBox_3);
00152 angleSlider->setObjectName(QString::fromUtf8("angleSlider"));
00153 angleSlider->setMinimum(-90);
00154 angleSlider->setMaximum(90);
00155 angleSlider->setOrientation(Qt::Horizontal);
00156
00157 gridLayout3->addWidget(angleSlider, 0, 1, 1, 1);
00158
00159 label_4 = new QLabel(groupBox_3);
00160 label_4->setObjectName(QString::fromUtf8("label_4"));
00161
00162 gridLayout3->addWidget(label_4, 0, 2, 1, 1);
00163
00164 label_3 = new QLabel(groupBox_3);
00165 label_3->setObjectName(QString::fromUtf8("label_3"));
00166
00167 gridLayout3->addWidget(label_3, 0, 0, 1, 1);
00168
00169
00170 gridLayout1->addWidget(groupBox_3, 0, 0, 1, 1);
00171
00172 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00173
00174 gridLayout1->addItem(spacerItem, 2, 0, 1, 1);
00175
00176
00177 gridLayout->addWidget(groupBox, 0, 0, 1, 1);
00178
00179 hboxLayout1 = new QHBoxLayout();
00180 #ifndef Q_OS_MAC
00181 hboxLayout1->setSpacing(6);
00182 #endif
00183 hboxLayout1->setMargin(0);
00184 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00185 playButton = new QPushButton(Gui__Dialog__DemoMode);
00186 playButton->setObjectName(QString::fromUtf8("playButton"));
00187
00188 hboxLayout1->addWidget(playButton);
00189
00190 stopButton = new QPushButton(Gui__Dialog__DemoMode);
00191 stopButton->setObjectName(QString::fromUtf8("stopButton"));
00192
00193 hboxLayout1->addWidget(stopButton);
00194
00195 spacerItem1 = new QSpacerItem(81, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
00196
00197 hboxLayout1->addItem(spacerItem1);
00198
00199 okButton = new QPushButton(Gui__Dialog__DemoMode);
00200 okButton->setObjectName(QString::fromUtf8("okButton"));
00201
00202 hboxLayout1->addWidget(okButton);
00203
00204
00205 gridLayout->addLayout(hboxLayout1, 1, 0, 1, 1);
00206
00207 QWidget::setTabOrder(angleSlider, speedSlider);
00208 QWidget::setTabOrder(speedSlider, fullscreen);
00209 QWidget::setTabOrder(fullscreen, timerCheck);
00210 QWidget::setTabOrder(timerCheck, playButton);
00211 QWidget::setTabOrder(playButton, stopButton);
00212 QWidget::setTabOrder(stopButton, okButton);
00213
00214 retranslateUi(Gui__Dialog__DemoMode);
00215 QObject::connect(okButton, SIGNAL(clicked()), Gui__Dialog__DemoMode, SLOT(accept()));
00216 QObject::connect(timerCheck, SIGNAL(toggled(bool)), timeout, SLOT(setEnabled(bool)));
00217
00218 QMetaObject::connectSlotsByName(Gui__Dialog__DemoMode);
00219 }
00220
00221 void retranslateUi(QDialog *Gui__Dialog__DemoMode)
00222 {
00223 Gui__Dialog__DemoMode->setWindowTitle(QApplication::translate("Gui::Dialog::DemoMode", "View Turntable", 0, QApplication::UnicodeUTF8));
00224 groupBox->setTitle(QString());
00225 groupBox_2->setTitle(QApplication::translate("Gui::Dialog::DemoMode", "Speed", 0, QApplication::UnicodeUTF8));
00226 label_2->setText(QApplication::translate("Gui::Dialog::DemoMode", "Maximum", 0, QApplication::UnicodeUTF8));
00227 label->setText(QApplication::translate("Gui::Dialog::DemoMode", "Minimum", 0, QApplication::UnicodeUTF8));
00228 fullscreen->setText(QApplication::translate("Gui::Dialog::DemoMode", "Fullscreen", 0, QApplication::UnicodeUTF8));
00229 timerCheck->setText(QApplication::translate("Gui::Dialog::DemoMode", "Enable timer", 0, QApplication::UnicodeUTF8));
00230 timeout->setSuffix(QApplication::translate("Gui::Dialog::DemoMode", " s", 0, QApplication::UnicodeUTF8));
00231 groupBox_3->setTitle(QApplication::translate("Gui::Dialog::DemoMode", "Angle", 0, QApplication::UnicodeUTF8));
00232 label_4->setText(QApplication::translate("Gui::Dialog::DemoMode", "90\302\260", 0, QApplication::UnicodeUTF8));
00233 label_3->setText(QApplication::translate("Gui::Dialog::DemoMode", "-90\302\260", 0, QApplication::UnicodeUTF8));
00234 playButton->setText(QApplication::translate("Gui::Dialog::DemoMode", "Play", 0, QApplication::UnicodeUTF8));
00235 stopButton->setText(QApplication::translate("Gui::Dialog::DemoMode", "Stop", 0, QApplication::UnicodeUTF8));
00236 okButton->setText(QApplication::translate("Gui::Dialog::DemoMode", "Close", 0, QApplication::UnicodeUTF8));
00237 Q_UNUSED(Gui__Dialog__DemoMode);
00238 }
00239
00240 };
00241
00242 }
00243 }
00244
00245 namespace Gui {
00246 namespace Dialog {
00247 namespace Ui {
00248 class DemoMode: public Ui_DemoMode {};
00249 }
00250 }
00251 }
00252
00253 #endif // UI_DEMOMODE_H