00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_QMITKLEVELWINDOWRANGECHANGE_H
00011 #define UI_QMITKLEVELWINDOWRANGECHANGE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSpinBox>
00023
00024 QT_BEGIN_NAMESPACE
00025
00026 class Ui_QmitkLevelWindowRangeChange
00027 {
00028 public:
00029 QGridLayout *gridLayout;
00030 QSpinBox *rangeMaxSpinBox;
00031 QPushButton *okButton;
00032 QLabel *lowerLimitLabel;
00033 QLabel *upperLimitLabel;
00034 QPushButton *cancelButton;
00035 QSpinBox *rangeMinSpinBox;
00036
00037 void setupUi(QDialog *QmitkLevelWindowRangeChange)
00038 {
00039 if (QmitkLevelWindowRangeChange->objectName().isEmpty())
00040 QmitkLevelWindowRangeChange->setObjectName(QString::fromUtf8("QmitkLevelWindowRangeChange"));
00041 QmitkLevelWindowRangeChange->resize(210, 110);
00042 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
00043 sizePolicy.setHorizontalStretch(0);
00044 sizePolicy.setVerticalStretch(0);
00045 sizePolicy.setHeightForWidth(QmitkLevelWindowRangeChange->sizePolicy().hasHeightForWidth());
00046 QmitkLevelWindowRangeChange->setSizePolicy(sizePolicy);
00047 QmitkLevelWindowRangeChange->setMinimumSize(QSize(210, 110));
00048 QmitkLevelWindowRangeChange->setMaximumSize(QSize(210, 110));
00049 gridLayout = new QGridLayout(QmitkLevelWindowRangeChange);
00050 gridLayout->setSpacing(6);
00051 gridLayout->setContentsMargins(11, 11, 11, 11);
00052 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00053 rangeMaxSpinBox = new QSpinBox(QmitkLevelWindowRangeChange);
00054 rangeMaxSpinBox->setObjectName(QString::fromUtf8("rangeMaxSpinBox"));
00055 rangeMaxSpinBox->setMinimum(-9999999);
00056 rangeMaxSpinBox->setMaximum(10000000);
00057 rangeMaxSpinBox->setValue(0);
00058
00059 gridLayout->addWidget(rangeMaxSpinBox, 0, 1, 1, 2);
00060
00061 okButton = new QPushButton(QmitkLevelWindowRangeChange);
00062 okButton->setObjectName(QString::fromUtf8("okButton"));
00063 okButton->setAutoDefault(false);
00064
00065 gridLayout->addWidget(okButton, 2, 0, 1, 2);
00066
00067 lowerLimitLabel = new QLabel(QmitkLevelWindowRangeChange);
00068 lowerLimitLabel->setObjectName(QString::fromUtf8("lowerLimitLabel"));
00069 lowerLimitLabel->setWordWrap(false);
00070
00071 gridLayout->addWidget(lowerLimitLabel, 1, 0, 1, 1);
00072
00073 upperLimitLabel = new QLabel(QmitkLevelWindowRangeChange);
00074 upperLimitLabel->setObjectName(QString::fromUtf8("upperLimitLabel"));
00075 upperLimitLabel->setWordWrap(false);
00076
00077 gridLayout->addWidget(upperLimitLabel, 0, 0, 1, 1);
00078
00079 cancelButton = new QPushButton(QmitkLevelWindowRangeChange);
00080 cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
00081 cancelButton->setAutoDefault(false);
00082
00083 gridLayout->addWidget(cancelButton, 2, 2, 1, 1);
00084
00085 rangeMinSpinBox = new QSpinBox(QmitkLevelWindowRangeChange);
00086 rangeMinSpinBox->setObjectName(QString::fromUtf8("rangeMinSpinBox"));
00087 rangeMinSpinBox->setMinimum(-10000000);
00088 rangeMinSpinBox->setMaximum(9999999);
00089 rangeMinSpinBox->setValue(0);
00090
00091 gridLayout->addWidget(rangeMinSpinBox, 1, 1, 1, 2);
00092
00093 QWidget::setTabOrder(rangeMaxSpinBox, rangeMinSpinBox);
00094 QWidget::setTabOrder(rangeMinSpinBox, okButton);
00095 QWidget::setTabOrder(okButton, cancelButton);
00096
00097 retranslateUi(QmitkLevelWindowRangeChange);
00098 QObject::connect(cancelButton, SIGNAL(clicked()), QmitkLevelWindowRangeChange, SLOT(reject()));
00099
00100 QMetaObject::connectSlotsByName(QmitkLevelWindowRangeChange);
00101 }
00102
00103 void retranslateUi(QDialog *QmitkLevelWindowRangeChange)
00104 {
00105 QmitkLevelWindowRangeChange->setWindowTitle(QApplication::translate("QmitkLevelWindowRangeChange", "Change Scale Range", 0, QApplication::UnicodeUTF8));
00106 okButton->setText(QApplication::translate("QmitkLevelWindowRangeChange", "OK", 0, QApplication::UnicodeUTF8));
00107 lowerLimitLabel->setText(QApplication::translate("QmitkLevelWindowRangeChange", "Lower Limit:", 0, QApplication::UnicodeUTF8));
00108 upperLimitLabel->setText(QApplication::translate("QmitkLevelWindowRangeChange", "Upper Limit:", 0, QApplication::UnicodeUTF8));
00109 cancelButton->setText(QApplication::translate("QmitkLevelWindowRangeChange", "Cancel", 0, QApplication::UnicodeUTF8));
00110 }
00111
00112 };
00113
00114 namespace Ui {
00115 class QmitkLevelWindowRangeChange: public Ui_QmitkLevelWindowRangeChange {};
00116 }
00117
00118 QT_END_NAMESPACE
00119
00120 #endif // UI_QMITKLEVELWINDOWRANGECHANGE_H