00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_QMITKMOVIEMAKERCONTROLS_H
00011 #define UI_QMITKMOVIEMAKERCONTROLS_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QFrame>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QHeaderView>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QRadioButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QSpinBox>
00027 #include <QtGui/QToolButton>
00028 #include <QtGui/QVBoxLayout>
00029 #include <QtGui/QWidget>
00030 #include "QmitkSliderNavigatorWidget.h"
00031
00032 QT_BEGIN_NAMESPACE
00033
00034 class Ui_QmitkMovieMakerControls
00035 {
00036 public:
00037 QGridLayout *gridLayout_2;
00038 QLabel *textLabel3;
00039 QComboBox *cmbSelectedStepperWindow;
00040 QLabel *textLabel3_2;
00041 QComboBox *cmbSelectedRecordingWindow;
00042 QGroupBox *groupBox;
00043 QGridLayout *gridLayout;
00044 QHBoxLayout *hboxLayout;
00045 QLabel *textLabel1;
00046 QmitkSliderNavigatorWidget *slidAngle;
00047 QHBoxLayout *hboxLayout1;
00048 QToolButton *btnPlay;
00049 QToolButton *btnPause;
00050 QToolButton *btnStop;
00051 QToolButton *btnMovie;
00052 QToolButton *btnScreenshot;
00053 QToolButton *m_HRScreenshot;
00054 QGroupBox *groupBox_2;
00055 QVBoxLayout *vboxLayout;
00056 QWidget *buttonGroup1;
00057 QVBoxLayout *vboxLayout1;
00058 QRadioButton *rbtnSpatial;
00059 QRadioButton *rbtnTemporal;
00060 QRadioButton *rbtnCombined;
00061 QHBoxLayout *hboxLayout2;
00062 QLabel *textLabel2_2;
00063 QSpinBox *spatialTimeRelation;
00064 QFrame *line2;
00065 QWidget *buttonGroup2;
00066 QVBoxLayout *vboxLayout2;
00067 QRadioButton *rbtnForward;
00068 QRadioButton *rbtnBackward;
00069 QRadioButton *rbtnPingPong;
00070 QHBoxLayout *hboxLayout3;
00071 QLabel *textLabel2;
00072 QSpinBox *spnDuration;
00073 QSpacerItem *spacerItem;
00074
00075 void setupUi(QWidget *QmitkMovieMakerControls)
00076 {
00077 if (QmitkMovieMakerControls->objectName().isEmpty())
00078 QmitkMovieMakerControls->setObjectName(QString::fromUtf8("QmitkMovieMakerControls"));
00079 QmitkMovieMakerControls->resize(371, 665);
00080 gridLayout_2 = new QGridLayout(QmitkMovieMakerControls);
00081 gridLayout_2->setSpacing(6);
00082 gridLayout_2->setContentsMargins(11, 11, 11, 11);
00083 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
00084 textLabel3 = new QLabel(QmitkMovieMakerControls);
00085 textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
00086 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
00087 sizePolicy.setHorizontalStretch(0);
00088 sizePolicy.setVerticalStretch(0);
00089 sizePolicy.setHeightForWidth(textLabel3->sizePolicy().hasHeightForWidth());
00090 textLabel3->setSizePolicy(sizePolicy);
00091 QFont font;
00092 font.setBold(true);
00093 font.setWeight(75);
00094 textLabel3->setFont(font);
00095 textLabel3->setWordWrap(false);
00096
00097 gridLayout_2->addWidget(textLabel3, 0, 0, 1, 1);
00098
00099 cmbSelectedStepperWindow = new QComboBox(QmitkMovieMakerControls);
00100 cmbSelectedStepperWindow->setObjectName(QString::fromUtf8("cmbSelectedStepperWindow"));
00101 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
00102 sizePolicy1.setHorizontalStretch(0);
00103 sizePolicy1.setVerticalStretch(0);
00104 sizePolicy1.setHeightForWidth(cmbSelectedStepperWindow->sizePolicy().hasHeightForWidth());
00105 cmbSelectedStepperWindow->setSizePolicy(sizePolicy1);
00106
00107 gridLayout_2->addWidget(cmbSelectedStepperWindow, 1, 0, 1, 2);
00108
00109 textLabel3_2 = new QLabel(QmitkMovieMakerControls);
00110 textLabel3_2->setObjectName(QString::fromUtf8("textLabel3_2"));
00111 sizePolicy.setHeightForWidth(textLabel3_2->sizePolicy().hasHeightForWidth());
00112 textLabel3_2->setSizePolicy(sizePolicy);
00113 textLabel3_2->setFont(font);
00114 textLabel3_2->setWordWrap(false);
00115
00116 gridLayout_2->addWidget(textLabel3_2, 2, 0, 1, 1);
00117
00118 cmbSelectedRecordingWindow = new QComboBox(QmitkMovieMakerControls);
00119 cmbSelectedRecordingWindow->setObjectName(QString::fromUtf8("cmbSelectedRecordingWindow"));
00120 sizePolicy1.setHeightForWidth(cmbSelectedRecordingWindow->sizePolicy().hasHeightForWidth());
00121 cmbSelectedRecordingWindow->setSizePolicy(sizePolicy1);
00122
00123 gridLayout_2->addWidget(cmbSelectedRecordingWindow, 3, 0, 1, 2);
00124
00125 groupBox = new QGroupBox(QmitkMovieMakerControls);
00126 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00127 groupBox->setFont(font);
00128 gridLayout = new QGridLayout(groupBox);
00129 gridLayout->setSpacing(6);
00130 gridLayout->setContentsMargins(11, 11, 11, 11);
00131 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00132 hboxLayout = new QHBoxLayout();
00133 hboxLayout->setSpacing(6);
00134 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00135 textLabel1 = new QLabel(groupBox);
00136 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00137 QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
00138 sizePolicy2.setHorizontalStretch(0);
00139 sizePolicy2.setVerticalStretch(0);
00140 sizePolicy2.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
00141 textLabel1->setSizePolicy(sizePolicy2);
00142 QFont font1;
00143 textLabel1->setFont(font1);
00144 textLabel1->setWordWrap(false);
00145
00146 hboxLayout->addWidget(textLabel1);
00147
00148 slidAngle = new QmitkSliderNavigatorWidget(groupBox);
00149 slidAngle->setObjectName(QString::fromUtf8("slidAngle"));
00150
00151 hboxLayout->addWidget(slidAngle);
00152
00153
00154 gridLayout->addLayout(hboxLayout, 0, 0, 1, 2);
00155
00156 hboxLayout1 = new QHBoxLayout();
00157 hboxLayout1->setSpacing(6);
00158 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00159 btnPlay = new QToolButton(groupBox);
00160 btnPlay->setObjectName(QString::fromUtf8("btnPlay"));
00161 QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Minimum);
00162 sizePolicy3.setHorizontalStretch(0);
00163 sizePolicy3.setVerticalStretch(0);
00164 sizePolicy3.setHeightForWidth(btnPlay->sizePolicy().hasHeightForWidth());
00165 btnPlay->setSizePolicy(sizePolicy3);
00166 btnPlay->setFont(font1);
00167 QIcon icon;
00168 icon.addFile(QString::fromUtf8(":/QmitkMovieMakerView/play.xpm"), QSize(), QIcon::Normal, QIcon::Off);
00169 btnPlay->setIcon(icon);
00170
00171 hboxLayout1->addWidget(btnPlay);
00172
00173 btnPause = new QToolButton(groupBox);
00174 btnPause->setObjectName(QString::fromUtf8("btnPause"));
00175 sizePolicy3.setHeightForWidth(btnPause->sizePolicy().hasHeightForWidth());
00176 btnPause->setSizePolicy(sizePolicy3);
00177 btnPause->setFont(font1);
00178 QIcon icon1;
00179 icon1.addFile(QString::fromUtf8(":/QmitkMovieMakerView/pause.xpm"), QSize(), QIcon::Normal, QIcon::Off);
00180 btnPause->setIcon(icon1);
00181
00182 hboxLayout1->addWidget(btnPause);
00183
00184 btnStop = new QToolButton(groupBox);
00185 btnStop->setObjectName(QString::fromUtf8("btnStop"));
00186 sizePolicy3.setHeightForWidth(btnStop->sizePolicy().hasHeightForWidth());
00187 btnStop->setSizePolicy(sizePolicy3);
00188 btnStop->setFont(font1);
00189 QIcon icon2;
00190 icon2.addFile(QString::fromUtf8(":/QmitkMovieMakerView/stop.xpm"), QSize(), QIcon::Normal, QIcon::Off);
00191 btnStop->setIcon(icon2);
00192
00193 hboxLayout1->addWidget(btnStop);
00194
00195
00196 gridLayout->addLayout(hboxLayout1, 1, 0, 1, 2);
00197
00198 btnMovie = new QToolButton(groupBox);
00199 btnMovie->setObjectName(QString::fromUtf8("btnMovie"));
00200 QSizePolicy sizePolicy4(QSizePolicy::Minimum, QSizePolicy::Preferred);
00201 sizePolicy4.setHorizontalStretch(0);
00202 sizePolicy4.setVerticalStretch(0);
00203 sizePolicy4.setHeightForWidth(btnMovie->sizePolicy().hasHeightForWidth());
00204 btnMovie->setSizePolicy(sizePolicy4);
00205 btnMovie->setFont(font1);
00206
00207 gridLayout->addWidget(btnMovie, 2, 0, 1, 2);
00208
00209 btnScreenshot = new QToolButton(groupBox);
00210 btnScreenshot->setObjectName(QString::fromUtf8("btnScreenshot"));
00211 QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Fixed);
00212 sizePolicy5.setHorizontalStretch(0);
00213 sizePolicy5.setVerticalStretch(0);
00214 sizePolicy5.setHeightForWidth(btnScreenshot->sizePolicy().hasHeightForWidth());
00215 btnScreenshot->setSizePolicy(sizePolicy5);
00216 btnScreenshot->setFont(font1);
00217
00218 gridLayout->addWidget(btnScreenshot, 3, 0, 1, 1);
00219
00220 m_HRScreenshot = new QToolButton(groupBox);
00221 m_HRScreenshot->setObjectName(QString::fromUtf8("m_HRScreenshot"));
00222 sizePolicy5.setHeightForWidth(m_HRScreenshot->sizePolicy().hasHeightForWidth());
00223 m_HRScreenshot->setSizePolicy(sizePolicy5);
00224 m_HRScreenshot->setFont(font1);
00225
00226 gridLayout->addWidget(m_HRScreenshot, 3, 1, 1, 1);
00227
00228
00229 gridLayout_2->addWidget(groupBox, 4, 0, 1, 2);
00230
00231 groupBox_2 = new QGroupBox(QmitkMovieMakerControls);
00232 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00233 groupBox_2->setFont(font);
00234 vboxLayout = new QVBoxLayout(groupBox_2);
00235 vboxLayout->setSpacing(6);
00236 vboxLayout->setContentsMargins(11, 11, 11, 11);
00237 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00238 buttonGroup1 = new QWidget(groupBox_2);
00239 buttonGroup1->setObjectName(QString::fromUtf8("buttonGroup1"));
00240 vboxLayout1 = new QVBoxLayout(buttonGroup1);
00241 vboxLayout1->setSpacing(6);
00242 vboxLayout1->setContentsMargins(11, 11, 11, 11);
00243 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00244 rbtnSpatial = new QRadioButton(buttonGroup1);
00245 rbtnSpatial->setObjectName(QString::fromUtf8("rbtnSpatial"));
00246 rbtnSpatial->setFont(font1);
00247 rbtnSpatial->setChecked(true);
00248
00249 vboxLayout1->addWidget(rbtnSpatial);
00250
00251 rbtnTemporal = new QRadioButton(buttonGroup1);
00252 rbtnTemporal->setObjectName(QString::fromUtf8("rbtnTemporal"));
00253 rbtnTemporal->setFont(font1);
00254
00255 vboxLayout1->addWidget(rbtnTemporal);
00256
00257 rbtnCombined = new QRadioButton(buttonGroup1);
00258 rbtnCombined->setObjectName(QString::fromUtf8("rbtnCombined"));
00259 rbtnCombined->setFont(font1);
00260
00261 vboxLayout1->addWidget(rbtnCombined);
00262
00263 hboxLayout2 = new QHBoxLayout();
00264 hboxLayout2->setSpacing(6);
00265 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00266 textLabel2_2 = new QLabel(buttonGroup1);
00267 textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
00268 textLabel2_2->setFont(font1);
00269 textLabel2_2->setWordWrap(false);
00270
00271 hboxLayout2->addWidget(textLabel2_2);
00272
00273 spatialTimeRelation = new QSpinBox(buttonGroup1);
00274 spatialTimeRelation->setObjectName(QString::fromUtf8("spatialTimeRelation"));
00275 spatialTimeRelation->setFont(font1);
00276 spatialTimeRelation->setMinimum(-10);
00277 spatialTimeRelation->setMaximum(10);
00278 spatialTimeRelation->setValue(0);
00279
00280 hboxLayout2->addWidget(spatialTimeRelation);
00281
00282
00283 vboxLayout1->addLayout(hboxLayout2);
00284
00285
00286 vboxLayout->addWidget(buttonGroup1);
00287
00288 line2 = new QFrame(groupBox_2);
00289 line2->setObjectName(QString::fromUtf8("line2"));
00290 line2->setFrameShape(QFrame::HLine);
00291 line2->setFrameShadow(QFrame::Sunken);
00292
00293 vboxLayout->addWidget(line2);
00294
00295 buttonGroup2 = new QWidget(groupBox_2);
00296 buttonGroup2->setObjectName(QString::fromUtf8("buttonGroup2"));
00297 vboxLayout2 = new QVBoxLayout(buttonGroup2);
00298 vboxLayout2->setSpacing(6);
00299 vboxLayout2->setContentsMargins(11, 11, 11, 11);
00300 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00301 rbtnForward = new QRadioButton(buttonGroup2);
00302 rbtnForward->setObjectName(QString::fromUtf8("rbtnForward"));
00303 rbtnForward->setFont(font1);
00304 rbtnForward->setChecked(true);
00305
00306 vboxLayout2->addWidget(rbtnForward);
00307
00308 rbtnBackward = new QRadioButton(buttonGroup2);
00309 rbtnBackward->setObjectName(QString::fromUtf8("rbtnBackward"));
00310 rbtnBackward->setFont(font1);
00311
00312 vboxLayout2->addWidget(rbtnBackward);
00313
00314 rbtnPingPong = new QRadioButton(buttonGroup2);
00315 rbtnPingPong->setObjectName(QString::fromUtf8("rbtnPingPong"));
00316 rbtnPingPong->setFont(font1);
00317
00318 vboxLayout2->addWidget(rbtnPingPong);
00319
00320 hboxLayout3 = new QHBoxLayout();
00321 hboxLayout3->setSpacing(6);
00322 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00323 textLabel2 = new QLabel(buttonGroup2);
00324 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00325 textLabel2->setFont(font1);
00326 textLabel2->setWordWrap(false);
00327
00328 hboxLayout3->addWidget(textLabel2);
00329
00330 spnDuration = new QSpinBox(buttonGroup2);
00331 spnDuration->setObjectName(QString::fromUtf8("spnDuration"));
00332 spnDuration->setFont(font1);
00333 spnDuration->setMinimum(1);
00334 spnDuration->setMaximum(200);
00335 spnDuration->setValue(5);
00336
00337 hboxLayout3->addWidget(spnDuration);
00338
00339
00340 vboxLayout2->addLayout(hboxLayout3);
00341
00342
00343 vboxLayout->addWidget(buttonGroup2);
00344
00345
00346 gridLayout_2->addWidget(groupBox_2, 5, 0, 1, 2);
00347
00348 spacerItem = new QSpacerItem(20, 31, QSizePolicy::Minimum, QSizePolicy::Expanding);
00349
00350 gridLayout_2->addItem(spacerItem, 6, 1, 1, 1);
00351
00352 QWidget::setTabOrder(rbtnForward, rbtnBackward);
00353 QWidget::setTabOrder(rbtnBackward, rbtnPingPong);
00354 QWidget::setTabOrder(rbtnPingPong, rbtnSpatial);
00355 QWidget::setTabOrder(rbtnSpatial, rbtnTemporal);
00356 QWidget::setTabOrder(rbtnTemporal, cmbSelectedStepperWindow);
00357
00358 retranslateUi(QmitkMovieMakerControls);
00359
00360 QMetaObject::connectSlotsByName(QmitkMovieMakerControls);
00361 }
00362
00363 void retranslateUi(QWidget *QmitkMovieMakerControls)
00364 {
00365 QmitkMovieMakerControls->setWindowTitle(QApplication::translate("QmitkMovieMakerControls", "MovieMaker", 0, QApplication::UnicodeUTF8));
00366 textLabel3->setText(QApplication::translate("QmitkMovieMakerControls", "Window for stepping", 0, QApplication::UnicodeUTF8));
00367 textLabel3_2->setText(QApplication::translate("QmitkMovieMakerControls", "Window for recording", 0, QApplication::UnicodeUTF8));
00368 groupBox->setTitle(QApplication::translate("QmitkMovieMakerControls", "Recording options", 0, QApplication::UnicodeUTF8));
00369 textLabel1->setText(QApplication::translate("QmitkMovieMakerControls", "Step", 0, QApplication::UnicodeUTF8));
00370 btnPlay->setText(QString());
00371 btnPause->setText(QString());
00372 btnStop->setText(QString());
00373 btnMovie->setText(QApplication::translate("QmitkMovieMakerControls", "Write Movie (MS Windows only) ...", 0, QApplication::UnicodeUTF8));
00374 #ifndef QT_NO_TOOLTIP
00375 btnScreenshot->setToolTip(QApplication::translate("QmitkMovieMakerControls", "Writes a screenshot of the selected window.", 0, QApplication::UnicodeUTF8));
00376 #endif // QT_NO_TOOLTIP
00377 btnScreenshot->setText(QApplication::translate("QmitkMovieMakerControls", "Write Screenshot", 0, QApplication::UnicodeUTF8));
00378 #ifndef QT_NO_TOOLTIP
00379 m_HRScreenshot->setToolTip(QApplication::translate("QmitkMovieMakerControls", "Writes a screenshot of the selected window.", 0, QApplication::UnicodeUTF8));
00380 #endif // QT_NO_TOOLTIP
00381 m_HRScreenshot->setText(QApplication::translate("QmitkMovieMakerControls", "Write high resolution 3D Screenshot", 0, QApplication::UnicodeUTF8));
00382 groupBox_2->setTitle(QApplication::translate("QmitkMovieMakerControls", "Playing options", 0, QApplication::UnicodeUTF8));
00383 rbtnSpatial->setText(QApplication::translate("QmitkMovieMakerControls", "Spatial", 0, QApplication::UnicodeUTF8));
00384 rbtnTemporal->setText(QApplication::translate("QmitkMovieMakerControls", "Temporal", 0, QApplication::UnicodeUTF8));
00385 rbtnCombined->setText(QApplication::translate("QmitkMovieMakerControls", "Combined", 0, QApplication::UnicodeUTF8));
00386 textLabel2_2->setText(QApplication::translate("QmitkMovieMakerControls", "S/T Relation", 0, QApplication::UnicodeUTF8));
00387 rbtnForward->setText(QApplication::translate("QmitkMovieMakerControls", "Forward", 0, QApplication::UnicodeUTF8));
00388 rbtnBackward->setText(QApplication::translate("QmitkMovieMakerControls", "Backward", 0, QApplication::UnicodeUTF8));
00389 rbtnPingPong->setText(QApplication::translate("QmitkMovieMakerControls", "Ping-Pong", 0, QApplication::UnicodeUTF8));
00390 textLabel2->setText(QApplication::translate("QmitkMovieMakerControls", "Cycle (sec)", 0, QApplication::UnicodeUTF8));
00391 }
00392
00393 };
00394
00395 namespace Ui {
00396 class QmitkMovieMakerControls: public Ui_QmitkMovieMakerControls {};
00397 }
00398
00399 QT_END_NAMESPACE
00400
00401 #endif // UI_QMITKMOVIEMAKERCONTROLS_H