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