00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_QMITKIGTEXAMPLEVIEWCONTROLS_H
00011 #define UI_QMITKIGTEXAMPLEVIEWCONTROLS_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/QComboBox>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QLineEdit>
00024 #include <QtGui/QProgressBar>
00025 #include <QtGui/QPushButton>
00026 #include <QtGui/QTextEdit>
00027 #include <QtGui/QVBoxLayout>
00028 #include <QtGui/QWidget>
00029 #include "QmitkPlotWidget.h"
00030 #include "mitkPropertyList.h"
00031
00032 QT_BEGIN_NAMESPACE
00033
00034 class Ui_QmitkIGTExampleControls
00035 {
00036 public:
00037 QVBoxLayout *verticalLayout_2;
00038 QGroupBox *groupBox;
00039 QVBoxLayout *verticalLayout;
00040 QComboBox *m_TrackingDevice;
00041 QHBoxLayout *hboxLayout;
00042 QPushButton *m_LoadToolBtn;
00043 QLabel *m_ToolFileName;
00044 QHBoxLayout *hboxLayout1;
00045 QLabel *m_PortLabel;
00046 QLineEdit *m_Port;
00047 QPushButton *m_StartTrackingButton;
00048 QPushButton *m_StartNavigationButton;
00049 QTextEdit *m_TextOutput;
00050 QmitkPlotWidget *m_ErrorPlot;
00051 QHBoxLayout *_2;
00052 QPushButton *m_ShowErrorPlotBtn;
00053 QProgressBar *m_ErrorBar;
00054 QPushButton *m_MeasureBtn;
00055 QPushButton *m_MeasureContinuously;
00056 QPushButton *m_StopBtn;
00057 QHBoxLayout *hboxLayout2;
00058 QLabel *textLabel1;
00059 QLineEdit *m_X;
00060 QLineEdit *m_Y;
00061 QLineEdit *m_Z;
00062 QPushButton *m_ChangeOffset;
00063 QCheckBox *m_ShowTrajectories;
00064 QPushButton *m_RecordingButtonToggle;
00065 QPushButton *m_PlayingButtonToggle;
00066
00067 void setupUi(QWidget *QmitkIGTExampleControls)
00068 {
00069 if (QmitkIGTExampleControls->objectName().isEmpty())
00070 QmitkIGTExampleControls->setObjectName(QString::fromUtf8("QmitkIGTExampleControls"));
00071 QmitkIGTExampleControls->resize(510, 706);
00072 QmitkIGTExampleControls->setMinimumSize(QSize(0, 0));
00073 verticalLayout_2 = new QVBoxLayout(QmitkIGTExampleControls);
00074 verticalLayout_2->setSpacing(6);
00075 verticalLayout_2->setContentsMargins(11, 11, 11, 11);
00076 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
00077 groupBox = new QGroupBox(QmitkIGTExampleControls);
00078 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00079 verticalLayout = new QVBoxLayout(groupBox);
00080 verticalLayout->setSpacing(6);
00081 verticalLayout->setContentsMargins(11, 11, 11, 11);
00082 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00083 m_TrackingDevice = new QComboBox(groupBox);
00084 m_TrackingDevice->setObjectName(QString::fromUtf8("m_TrackingDevice"));
00085
00086 verticalLayout->addWidget(m_TrackingDevice);
00087
00088 hboxLayout = new QHBoxLayout();
00089 hboxLayout->setSpacing(6);
00090 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00091 m_LoadToolBtn = new QPushButton(groupBox);
00092 m_LoadToolBtn->setObjectName(QString::fromUtf8("m_LoadToolBtn"));
00093
00094 hboxLayout->addWidget(m_LoadToolBtn);
00095
00096 m_ToolFileName = new QLabel(groupBox);
00097 m_ToolFileName->setObjectName(QString::fromUtf8("m_ToolFileName"));
00098 m_ToolFileName->setWordWrap(false);
00099
00100 hboxLayout->addWidget(m_ToolFileName);
00101
00102
00103 verticalLayout->addLayout(hboxLayout);
00104
00105 hboxLayout1 = new QHBoxLayout();
00106 hboxLayout1->setSpacing(6);
00107 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00108 m_PortLabel = new QLabel(groupBox);
00109 m_PortLabel->setObjectName(QString::fromUtf8("m_PortLabel"));
00110 m_PortLabel->setWordWrap(false);
00111
00112 hboxLayout1->addWidget(m_PortLabel);
00113
00114 m_Port = new QLineEdit(groupBox);
00115 m_Port->setObjectName(QString::fromUtf8("m_Port"));
00116 m_Port->setMinimumSize(QSize(80, 0));
00117
00118 hboxLayout1->addWidget(m_Port);
00119
00120
00121 verticalLayout->addLayout(hboxLayout1);
00122
00123
00124 verticalLayout_2->addWidget(groupBox);
00125
00126 m_StartTrackingButton = new QPushButton(QmitkIGTExampleControls);
00127 m_StartTrackingButton->setObjectName(QString::fromUtf8("m_StartTrackingButton"));
00128
00129 verticalLayout_2->addWidget(m_StartTrackingButton);
00130
00131 m_StartNavigationButton = new QPushButton(QmitkIGTExampleControls);
00132 m_StartNavigationButton->setObjectName(QString::fromUtf8("m_StartNavigationButton"));
00133
00134 verticalLayout_2->addWidget(m_StartNavigationButton);
00135
00136 m_TextOutput = new QTextEdit(QmitkIGTExampleControls);
00137 m_TextOutput->setObjectName(QString::fromUtf8("m_TextOutput"));
00138
00139 verticalLayout_2->addWidget(m_TextOutput);
00140
00141 m_ErrorPlot = new QmitkPlotWidget(QmitkIGTExampleControls);
00142 m_ErrorPlot->setObjectName(QString::fromUtf8("m_ErrorPlot"));
00143 m_ErrorPlot->setEnabled(false);
00144 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
00145 sizePolicy.setHorizontalStretch(0);
00146 sizePolicy.setVerticalStretch(0);
00147 sizePolicy.setHeightForWidth(m_ErrorPlot->sizePolicy().hasHeightForWidth());
00148 m_ErrorPlot->setSizePolicy(sizePolicy);
00149 m_ErrorPlot->setMinimumSize(QSize(80, 60));
00150
00151 verticalLayout_2->addWidget(m_ErrorPlot);
00152
00153 _2 = new QHBoxLayout();
00154 _2->setSpacing(6);
00155 _2->setObjectName(QString::fromUtf8("_2"));
00156 m_ShowErrorPlotBtn = new QPushButton(QmitkIGTExampleControls);
00157 m_ShowErrorPlotBtn->setObjectName(QString::fromUtf8("m_ShowErrorPlotBtn"));
00158
00159 _2->addWidget(m_ShowErrorPlotBtn);
00160
00161 m_ErrorBar = new QProgressBar(QmitkIGTExampleControls);
00162 m_ErrorBar->setObjectName(QString::fromUtf8("m_ErrorBar"));
00163 m_ErrorBar->setValue(0);
00164 m_ErrorBar->setTextVisible(false);
00165
00166 _2->addWidget(m_ErrorBar);
00167
00168
00169 verticalLayout_2->addLayout(_2);
00170
00171 m_MeasureBtn = new QPushButton(QmitkIGTExampleControls);
00172 m_MeasureBtn->setObjectName(QString::fromUtf8("m_MeasureBtn"));
00173 m_MeasureBtn->setEnabled(false);
00174
00175 verticalLayout_2->addWidget(m_MeasureBtn);
00176
00177 m_MeasureContinuously = new QPushButton(QmitkIGTExampleControls);
00178 m_MeasureContinuously->setObjectName(QString::fromUtf8("m_MeasureContinuously"));
00179 m_MeasureContinuously->setEnabled(false);
00180
00181 verticalLayout_2->addWidget(m_MeasureContinuously);
00182
00183 m_StopBtn = new QPushButton(QmitkIGTExampleControls);
00184 m_StopBtn->setObjectName(QString::fromUtf8("m_StopBtn"));
00185 m_StopBtn->setEnabled(false);
00186
00187 verticalLayout_2->addWidget(m_StopBtn);
00188
00189 hboxLayout2 = new QHBoxLayout();
00190 hboxLayout2->setSpacing(6);
00191 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00192 textLabel1 = new QLabel(QmitkIGTExampleControls);
00193 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00194 textLabel1->setWordWrap(false);
00195
00196 hboxLayout2->addWidget(textLabel1);
00197
00198 m_X = new QLineEdit(QmitkIGTExampleControls);
00199 m_X->setObjectName(QString::fromUtf8("m_X"));
00200
00201 hboxLayout2->addWidget(m_X);
00202
00203 m_Y = new QLineEdit(QmitkIGTExampleControls);
00204 m_Y->setObjectName(QString::fromUtf8("m_Y"));
00205
00206 hboxLayout2->addWidget(m_Y);
00207
00208 m_Z = new QLineEdit(QmitkIGTExampleControls);
00209 m_Z->setObjectName(QString::fromUtf8("m_Z"));
00210
00211 hboxLayout2->addWidget(m_Z);
00212
00213 m_ChangeOffset = new QPushButton(QmitkIGTExampleControls);
00214 m_ChangeOffset->setObjectName(QString::fromUtf8("m_ChangeOffset"));
00215
00216 hboxLayout2->addWidget(m_ChangeOffset);
00217
00218
00219 verticalLayout_2->addLayout(hboxLayout2);
00220
00221 m_ShowTrajectories = new QCheckBox(QmitkIGTExampleControls);
00222 m_ShowTrajectories->setObjectName(QString::fromUtf8("m_ShowTrajectories"));
00223
00224 verticalLayout_2->addWidget(m_ShowTrajectories);
00225
00226 m_RecordingButtonToggle = new QPushButton(QmitkIGTExampleControls);
00227 m_RecordingButtonToggle->setObjectName(QString::fromUtf8("m_RecordingButtonToggle"));
00228 m_RecordingButtonToggle->setCheckable(true);
00229
00230 verticalLayout_2->addWidget(m_RecordingButtonToggle);
00231
00232 m_PlayingButtonToggle = new QPushButton(QmitkIGTExampleControls);
00233 m_PlayingButtonToggle->setObjectName(QString::fromUtf8("m_PlayingButtonToggle"));
00234 m_PlayingButtonToggle->setCheckable(true);
00235
00236 verticalLayout_2->addWidget(m_PlayingButtonToggle);
00237
00238
00239 retranslateUi(QmitkIGTExampleControls);
00240
00241 QMetaObject::connectSlotsByName(QmitkIGTExampleControls);
00242 }
00243
00244 void retranslateUi(QWidget *QmitkIGTExampleControls)
00245 {
00246 QmitkIGTExampleControls->setWindowTitle(QApplication::translate("QmitkIGTExampleControls", "QmitkIGTExample", 0, QApplication::UnicodeUTF8));
00247 groupBox->setTitle(QApplication::translate("QmitkIGTExampleControls", "Select Tracking Device", 0, QApplication::UnicodeUTF8));
00248 m_TrackingDevice->clear();
00249 m_TrackingDevice->insertItems(0, QStringList()
00250 << QApplication::translate("QmitkIGTExampleControls", "NDI Polaris", 0, QApplication::UnicodeUTF8)
00251 << QApplication::translate("QmitkIGTExampleControls", "NDI Aurora", 0, QApplication::UnicodeUTF8)
00252 << QApplication::translate("QmitkIGTExampleControls", "Micron Tracker", 0, QApplication::UnicodeUTF8)
00253 << QApplication::translate("QmitkIGTExampleControls", "MicroBird", 0, QApplication::UnicodeUTF8)
00254 << QApplication::translate("QmitkIGTExampleControls", "VirtualTrackingDevice", 0, QApplication::UnicodeUTF8)
00255 );
00256 m_LoadToolBtn->setText(QApplication::translate("QmitkIGTExampleControls", "Load Tool(s)", 0, QApplication::UnicodeUTF8));
00257 m_ToolFileName->setText(QString());
00258 m_PortLabel->setText(QApplication::translate("QmitkIGTExampleControls", "Port (e.g. COM4, /dev/ttyUSB0):", 0, QApplication::UnicodeUTF8));
00259 m_StartTrackingButton->setText(QApplication::translate("QmitkIGTExampleControls", "Start MITK-IGT-Tracking Test", 0, QApplication::UnicodeUTF8));
00260 m_StartNavigationButton->setText(QApplication::translate("QmitkIGTExampleControls", "Start MITK-IGT-Navigation Test", 0, QApplication::UnicodeUTF8));
00261 m_ShowErrorPlotBtn->setText(QApplication::translate("QmitkIGTExampleControls", "Show Error Plot", 0, QApplication::UnicodeUTF8));
00262 m_MeasureBtn->setText(QApplication::translate("QmitkIGTExampleControls", "Measure!", 0, QApplication::UnicodeUTF8));
00263 m_MeasureContinuously->setText(QApplication::translate("QmitkIGTExampleControls", "Start measure continuously", 0, QApplication::UnicodeUTF8));
00264 m_StopBtn->setText(QApplication::translate("QmitkIGTExampleControls", "End MITK-IGT-Navigation Test", 0, QApplication::UnicodeUTF8));
00265 textLabel1->setText(QApplication::translate("QmitkIGTExampleControls", "Offset(x,y,z)", 0, QApplication::UnicodeUTF8));
00266 m_X->setText(QApplication::translate("QmitkIGTExampleControls", "0.0", 0, QApplication::UnicodeUTF8));
00267 m_Y->setText(QApplication::translate("QmitkIGTExampleControls", "0.0", 0, QApplication::UnicodeUTF8));
00268 m_Z->setText(QApplication::translate("QmitkIGTExampleControls", "0.0", 0, QApplication::UnicodeUTF8));
00269 m_ChangeOffset->setText(QApplication::translate("QmitkIGTExampleControls", "Change Offset", 0, QApplication::UnicodeUTF8));
00270 m_ShowTrajectories->setText(QApplication::translate("QmitkIGTExampleControls", "Show trajectories", 0, QApplication::UnicodeUTF8));
00271 m_RecordingButtonToggle->setText(QApplication::translate("QmitkIGTExampleControls", "Start Recording Test", 0, QApplication::UnicodeUTF8));
00272 m_PlayingButtonToggle->setText(QApplication::translate("QmitkIGTExampleControls", "Start Replaying", 0, QApplication::UnicodeUTF8));
00273 }
00274
00275 };
00276
00277 namespace Ui {
00278 class QmitkIGTExampleControls: public Ui_QmitkIGTExampleControls {};
00279 }
00280
00281 QT_END_NAMESPACE
00282
00283 #endif // UI_QMITKIGTEXAMPLEVIEWCONTROLS_H