00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_QMITKSIMPLEMEASUREMENTCONTROLS_H
00011 #define UI_QMITKSIMPLEMEASUREMENTCONTROLS_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QHBoxLayout>
00018 #include <QtGui/QHeaderView>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QPushButton>
00021 #include <QtGui/QSpacerItem>
00022 #include <QtGui/QVBoxLayout>
00023 #include <QtGui/QWidget>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_QmitkSimpleMeasurementControls
00028 {
00029 public:
00030 QVBoxLayout *vboxLayout;
00031 QWidget *widget;
00032 QHBoxLayout *horizontalLayout;
00033 QLabel *label;
00034 QLabel *selectedPointSet;
00035 QLabel *textLabel1_3_2;
00036 QPushButton *pbDistance;
00037 QPushButton *pbAngle;
00038 QPushButton *pbPath;
00039 QLabel *textLabel1_3;
00040 QSpacerItem *spacer2;
00041
00042 void setupUi(QWidget *QmitkSimpleMeasurementControls)
00043 {
00044 if (QmitkSimpleMeasurementControls->objectName().isEmpty())
00045 QmitkSimpleMeasurementControls->setObjectName(QString::fromUtf8("QmitkSimpleMeasurementControls"));
00046 QmitkSimpleMeasurementControls->resize(227, 605);
00047 QmitkSimpleMeasurementControls->setMinimumSize(QSize(0, 0));
00048 vboxLayout = new QVBoxLayout(QmitkSimpleMeasurementControls);
00049 vboxLayout->setSpacing(6);
00050 vboxLayout->setContentsMargins(11, 11, 11, 11);
00051 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00052 widget = new QWidget(QmitkSimpleMeasurementControls);
00053 widget->setObjectName(QString::fromUtf8("widget"));
00054 horizontalLayout = new QHBoxLayout(widget);
00055 horizontalLayout->setSpacing(6);
00056 horizontalLayout->setContentsMargins(11, 11, 11, 11);
00057 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00058 label = new QLabel(widget);
00059 label->setObjectName(QString::fromUtf8("label"));
00060
00061 horizontalLayout->addWidget(label);
00062
00063 selectedPointSet = new QLabel(widget);
00064 selectedPointSet->setObjectName(QString::fromUtf8("selectedPointSet"));
00065
00066 horizontalLayout->addWidget(selectedPointSet);
00067
00068
00069 vboxLayout->addWidget(widget);
00070
00071 textLabel1_3_2 = new QLabel(QmitkSimpleMeasurementControls);
00072 textLabel1_3_2->setObjectName(QString::fromUtf8("textLabel1_3_2"));
00073 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
00074 sizePolicy.setHorizontalStretch(0);
00075 sizePolicy.setVerticalStretch(0);
00076 sizePolicy.setHeightForWidth(textLabel1_3_2->sizePolicy().hasHeightForWidth());
00077 textLabel1_3_2->setSizePolicy(sizePolicy);
00078 textLabel1_3_2->setMinimumSize(QSize(150, 25));
00079 textLabel1_3_2->setFrameShape(QFrame::NoFrame);
00080 textLabel1_3_2->setFrameShadow(QFrame::Plain);
00081 textLabel1_3_2->setLineWidth(1);
00082 textLabel1_3_2->setAlignment(Qt::AlignVCenter);
00083 textLabel1_3_2->setWordWrap(false);
00084
00085 vboxLayout->addWidget(textLabel1_3_2);
00086
00087 pbDistance = new QPushButton(QmitkSimpleMeasurementControls);
00088 pbDistance->setObjectName(QString::fromUtf8("pbDistance"));
00089 pbDistance->setCheckable(false);
00090 pbDistance->setFlat(false);
00091
00092 vboxLayout->addWidget(pbDistance);
00093
00094 pbAngle = new QPushButton(QmitkSimpleMeasurementControls);
00095 pbAngle->setObjectName(QString::fromUtf8("pbAngle"));
00096 pbAngle->setCheckable(false);
00097
00098 vboxLayout->addWidget(pbAngle);
00099
00100 pbPath = new QPushButton(QmitkSimpleMeasurementControls);
00101 pbPath->setObjectName(QString::fromUtf8("pbPath"));
00102 pbPath->setCursor(QCursor(Qt::ArrowCursor));
00103 pbPath->setAcceptDrops(false);
00104 pbPath->setCheckable(false);
00105 pbPath->setChecked(false);
00106 pbPath->setAutoRepeat(false);
00107 pbPath->setAutoDefault(false);
00108 pbPath->setDefault(false);
00109 pbPath->setFlat(false);
00110
00111 vboxLayout->addWidget(pbPath);
00112
00113 textLabel1_3 = new QLabel(QmitkSimpleMeasurementControls);
00114 textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
00115 sizePolicy.setHeightForWidth(textLabel1_3->sizePolicy().hasHeightForWidth());
00116 textLabel1_3->setSizePolicy(sizePolicy);
00117 textLabel1_3->setMinimumSize(QSize(150, 65));
00118 textLabel1_3->setFrameShape(QFrame::NoFrame);
00119 textLabel1_3->setFrameShadow(QFrame::Plain);
00120 textLabel1_3->setLineWidth(1);
00121 textLabel1_3->setAlignment(Qt::AlignVCenter);
00122 textLabel1_3->setWordWrap(false);
00123
00124 vboxLayout->addWidget(textLabel1_3);
00125
00126 spacer2 = new QSpacerItem(20, 390, QSizePolicy::Minimum, QSizePolicy::Expanding);
00127
00128 vboxLayout->addItem(spacer2);
00129
00130
00131 retranslateUi(QmitkSimpleMeasurementControls);
00132
00133 QMetaObject::connectSlotsByName(QmitkSimpleMeasurementControls);
00134 }
00135
00136 void retranslateUi(QWidget *QmitkSimpleMeasurementControls)
00137 {
00138 QmitkSimpleMeasurementControls->setWindowTitle(QApplication::translate("QmitkSimpleMeasurementControls", "SimpleMeasurement", 0, QApplication::UnicodeUTF8));
00139 label->setText(QApplication::translate("QmitkSimpleMeasurementControls", "Working PointSet:", 0, QApplication::UnicodeUTF8));
00140 selectedPointSet->setText(QApplication::translate("QmitkSimpleMeasurementControls", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
00141 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
00142 "p, li { white-space: pre-wrap; }\n"
00143 "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
00144 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt; font-weight:600;\">None</span></p></body></html>", 0, QApplication::UnicodeUTF8));
00145 textLabel1_3_2->setText(QApplication::translate("QmitkSimpleMeasurementControls", "<p align=\"center\">Select one option</p>", 0, QApplication::UnicodeUTF8));
00146 #ifndef QT_NO_TOOLTIP
00147 pbDistance->setToolTip(QApplication::translate("QmitkSimpleMeasurementControls", "calculates the distance between two points", 0, QApplication::UnicodeUTF8));
00148 #endif // QT_NO_TOOLTIP
00149 pbDistance->setText(QApplication::translate("QmitkSimpleMeasurementControls", "Distance", 0, QApplication::UnicodeUTF8));
00150 #ifndef QT_NO_TOOLTIP
00151 pbAngle->setToolTip(QApplication::translate("QmitkSimpleMeasurementControls", "calculates the angle between two lines", 0, QApplication::UnicodeUTF8));
00152 #endif // QT_NO_TOOLTIP
00153 pbAngle->setText(QApplication::translate("QmitkSimpleMeasurementControls", "Angle", 0, QApplication::UnicodeUTF8));
00154 #ifndef QT_NO_TOOLTIP
00155 pbPath->setToolTip(QApplication::translate("QmitkSimpleMeasurementControls", "calculates the distance between two or more points", 0, QApplication::UnicodeUTF8));
00156 #endif // QT_NO_TOOLTIP
00157 pbPath->setText(QApplication::translate("QmitkSimpleMeasurementControls", "Path", 0, QApplication::UnicodeUTF8));
00158 textLabel1_3->setText(QApplication::translate("QmitkSimpleMeasurementControls", "<p align=\"center\">Hold <i>shift + click</i><br>to insert a point</p>", 0, QApplication::UnicodeUTF8));
00159 }
00160
00161 };
00162
00163 namespace Ui {
00164 class QmitkSimpleMeasurementControls: public Ui_QmitkSimpleMeasurementControls {};
00165 }
00166
00167 QT_END_NAMESPACE
00168
00169 #endif // UI_QMITKSIMPLEMEASUREMENTCONTROLS_H