00001 #ifndef UI_TRANSFERFUNCUI_H
00002 #define UI_TRANSFERFUNCUI_H
00003
00004 #include <QtCore/QVariant>
00005 #include <QtGui/QAction>
00006 #include <QtGui/QApplication>
00007 #include <QtGui/QButtonGroup>
00008 #include <QtGui/QGroupBox>
00009 #include <QtGui/QHBoxLayout>
00010 #include <QtGui/QLabel>
00011 #include <QtGui/QMainWindow>
00012 #include <QtGui/QPushButton>
00013 #include <QtGui/QSlider>
00014 #include <QtGui/QSpacerItem>
00015 #include <QtGui/QWidget>
00016
00017 class Ui_TransferFuncWindow
00018 {
00019 public:
00020 QWidget *centralWidget;
00021 QGroupBox *opacityGroupBox_2;
00022 QPushButton *colorFrame;
00023 QGroupBox *opacityGroupBox;
00024 QWidget *layoutWidget_2_2_2_2;
00025 QHBoxLayout *hboxLayout;
00026 QSpacerItem *spacerItem;
00027 QLabel *opacityCurrValue;
00028 QSpacerItem *spacerItem1;
00029 QWidget *layoutWidget_3_2_2;
00030 QHBoxLayout *hboxLayout1;
00031 QLabel *opacityLowerBound;
00032 QSlider *opacitySlider;
00033 QLabel *opacityUpperBound;
00034 QGroupBox *tresholdGroupBox;
00035 QWidget *layoutWidget_2_2_2_2_3_2_2;
00036 QHBoxLayout *hboxLayout2;
00037 QSpacerItem *spacerItem2;
00038 QLabel *thresholdCurrValue;
00039 QSpacerItem *spacerItem3;
00040 QWidget *layoutWidget_3_2_2_3_2_2;
00041 QHBoxLayout *hboxLayout3;
00042 QLabel *thresholdLowerBound;
00043 QSlider *thresholdSlider;
00044 QLabel *thresholdUpperBound;
00045 QPushButton *activatePB;
00046
00047 void setupUi(QMainWindow *TransferFuncWindow)
00048 {
00049 TransferFuncWindow->setObjectName(QString::fromUtf8("TransferFuncWindow"));
00050 TransferFuncWindow->resize(QSize(324, 245).expandedTo(TransferFuncWindow->minimumSizeHint()));
00051 centralWidget = new QWidget(TransferFuncWindow);
00052 centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
00053 opacityGroupBox_2 = new QGroupBox(centralWidget);
00054 opacityGroupBox_2->setObjectName(QString::fromUtf8("opacityGroupBox_2"));
00055 opacityGroupBox_2->setGeometry(QRect(10, 10, 151, 61));
00056 colorFrame = new QPushButton(opacityGroupBox_2);
00057 colorFrame->setObjectName(QString::fromUtf8("colorFrame"));
00058 colorFrame->setGeometry(QRect(10, 20, 109, 32));
00059 opacityGroupBox = new QGroupBox(centralWidget);
00060 opacityGroupBox->setObjectName(QString::fromUtf8("opacityGroupBox"));
00061 opacityGroupBox->setGeometry(QRect(10, 80, 301, 71));
00062 layoutWidget_2_2_2_2 = new QWidget(opacityGroupBox);
00063 layoutWidget_2_2_2_2->setObjectName(QString::fromUtf8("layoutWidget_2_2_2_2"));
00064 layoutWidget_2_2_2_2->setGeometry(QRect(10, 20, 283, 22));
00065 hboxLayout = new QHBoxLayout(layoutWidget_2_2_2_2);
00066 hboxLayout->setSpacing(6);
00067 hboxLayout->setMargin(0);
00068 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00069 spacerItem = new QSpacerItem(116, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00070
00071 hboxLayout->addItem(spacerItem);
00072
00073 opacityCurrValue = new QLabel(layoutWidget_2_2_2_2);
00074 opacityCurrValue->setObjectName(QString::fromUtf8("opacityCurrValue"));
00075
00076 hboxLayout->addWidget(opacityCurrValue);
00077
00078 spacerItem1 = new QSpacerItem(116, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00079
00080 hboxLayout->addItem(spacerItem1);
00081
00082 layoutWidget_3_2_2 = new QWidget(opacityGroupBox);
00083 layoutWidget_3_2_2->setObjectName(QString::fromUtf8("layoutWidget_3_2_2"));
00084 layoutWidget_3_2_2->setGeometry(QRect(10, 40, 281, 24));
00085 hboxLayout1 = new QHBoxLayout(layoutWidget_3_2_2);
00086 hboxLayout1->setSpacing(6);
00087 hboxLayout1->setMargin(0);
00088 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00089 opacityLowerBound = new QLabel(layoutWidget_3_2_2);
00090 opacityLowerBound->setObjectName(QString::fromUtf8("opacityLowerBound"));
00091
00092 hboxLayout1->addWidget(opacityLowerBound);
00093
00094 opacitySlider = new QSlider(layoutWidget_3_2_2);
00095 opacitySlider->setObjectName(QString::fromUtf8("opacitySlider"));
00096 opacitySlider->setMaximum(100);
00097 opacitySlider->setValue(100);
00098 opacitySlider->setOrientation(Qt::Horizontal);
00099 opacitySlider->setInvertedAppearance(false);
00100
00101 hboxLayout1->addWidget(opacitySlider);
00102
00103 opacityUpperBound = new QLabel(layoutWidget_3_2_2);
00104 opacityUpperBound->setObjectName(QString::fromUtf8("opacityUpperBound"));
00105
00106 hboxLayout1->addWidget(opacityUpperBound);
00107
00108 tresholdGroupBox = new QGroupBox(centralWidget);
00109 tresholdGroupBox->setObjectName(QString::fromUtf8("tresholdGroupBox"));
00110 tresholdGroupBox->setGeometry(QRect(10, 160, 301, 71));
00111 layoutWidget_2_2_2_2_3_2_2 = new QWidget(tresholdGroupBox);
00112 layoutWidget_2_2_2_2_3_2_2->setObjectName(QString::fromUtf8("layoutWidget_2_2_2_2_3_2_2"));
00113 layoutWidget_2_2_2_2_3_2_2->setGeometry(QRect(10, 20, 283, 22));
00114 hboxLayout2 = new QHBoxLayout(layoutWidget_2_2_2_2_3_2_2);
00115 hboxLayout2->setSpacing(6);
00116 hboxLayout2->setMargin(0);
00117 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00118 spacerItem2 = new QSpacerItem(116, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00119
00120 hboxLayout2->addItem(spacerItem2);
00121
00122 thresholdCurrValue = new QLabel(layoutWidget_2_2_2_2_3_2_2);
00123 thresholdCurrValue->setObjectName(QString::fromUtf8("thresholdCurrValue"));
00124
00125 hboxLayout2->addWidget(thresholdCurrValue);
00126
00127 spacerItem3 = new QSpacerItem(116, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00128
00129 hboxLayout2->addItem(spacerItem3);
00130
00131 layoutWidget_3_2_2_3_2_2 = new QWidget(tresholdGroupBox);
00132 layoutWidget_3_2_2_3_2_2->setObjectName(QString::fromUtf8("layoutWidget_3_2_2_3_2_2"));
00133 layoutWidget_3_2_2_3_2_2->setGeometry(QRect(10, 40, 281, 24));
00134 hboxLayout3 = new QHBoxLayout(layoutWidget_3_2_2_3_2_2);
00135 hboxLayout3->setSpacing(6);
00136 hboxLayout3->setMargin(0);
00137 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00138 thresholdLowerBound = new QLabel(layoutWidget_3_2_2_3_2_2);
00139 thresholdLowerBound->setObjectName(QString::fromUtf8("thresholdLowerBound"));
00140
00141 hboxLayout3->addWidget(thresholdLowerBound);
00142
00143 thresholdSlider = new QSlider(layoutWidget_3_2_2_3_2_2);
00144 thresholdSlider->setObjectName(QString::fromUtf8("thresholdSlider"));
00145 thresholdSlider->setMaximum(4095);
00146 thresholdSlider->setValue(0);
00147 thresholdSlider->setOrientation(Qt::Horizontal);
00148 thresholdSlider->setInvertedAppearance(false);
00149
00150 hboxLayout3->addWidget(thresholdSlider);
00151
00152 thresholdUpperBound = new QLabel(layoutWidget_3_2_2_3_2_2);
00153 thresholdUpperBound->setObjectName(QString::fromUtf8("thresholdUpperBound"));
00154
00155 hboxLayout3->addWidget(thresholdUpperBound);
00156
00157 activatePB = new QPushButton(centralWidget);
00158 activatePB->setObjectName(QString::fromUtf8("activatePB"));
00159 activatePB->setGeometry(QRect(170, 30, 141, 41));
00160 TransferFuncWindow->setCentralWidget(centralWidget);
00161 retranslateUi(TransferFuncWindow);
00162
00163 QMetaObject::connectSlotsByName(TransferFuncWindow);
00164 }
00165
00166 void retranslateUi(QMainWindow *TransferFuncWindow)
00167 {
00168 TransferFuncWindow->setWindowTitle(QApplication::translate("TransferFuncWindow", "Transfer function", 0, QApplication::UnicodeUTF8));
00169 opacityGroupBox_2->setTitle(QApplication::translate("TransferFuncWindow", "Color:", 0, QApplication::UnicodeUTF8));
00170 colorFrame->setText(QApplication::translate("TransferFuncWindow", "", 0, QApplication::UnicodeUTF8));
00171 opacityGroupBox->setTitle(QApplication::translate("TransferFuncWindow", "Opacity:", 0, QApplication::UnicodeUTF8));
00172 opacityCurrValue->setText(QApplication::translate("TransferFuncWindow", "100 %", 0, QApplication::UnicodeUTF8));
00173 opacityLowerBound->setText(QApplication::translate("TransferFuncWindow", "0%", 0, QApplication::UnicodeUTF8));
00174 opacitySlider->setWhatsThis(QApplication::translate("TransferFuncWindow", "Opacity", 0, QApplication::UnicodeUTF8));
00175 opacityUpperBound->setText(QApplication::translate("TransferFuncWindow", "100%", 0, QApplication::UnicodeUTF8));
00176 tresholdGroupBox->setTitle(QApplication::translate("TransferFuncWindow", "Threshold:", 0, QApplication::UnicodeUTF8));
00177 thresholdCurrValue->setText(QApplication::translate("TransferFuncWindow", "0", 0, QApplication::UnicodeUTF8));
00178 thresholdLowerBound->setText(QApplication::translate("TransferFuncWindow", "0", 0, QApplication::UnicodeUTF8));
00179 thresholdSlider->setWhatsThis(QApplication::translate("TransferFuncWindow", "Opacity", 0, QApplication::UnicodeUTF8));
00180 thresholdUpperBound->setText(QApplication::translate("TransferFuncWindow", "4095", 0, QApplication::UnicodeUTF8));
00181 activatePB->setText(QApplication::translate("TransferFuncWindow", "Activate", 0, QApplication::UnicodeUTF8));
00182 Q_UNUSED(TransferFuncWindow);
00183 }
00184
00185 };
00186
00187 namespace Ui {
00188 class TransferFuncWindow: public Ui_TransferFuncWindow {};
00189 }
00190
00191 #endif // UI_TRANSFERFUNCUI_H