00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_QMITKCOLOURIMAGEPROCESSINGVIEWCONTROLS_H
00011 #define UI_QMITKCOLOURIMAGEPROCESSINGVIEWCONTROLS_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QFrame>
00018 #include <QtGui/QHBoxLayout>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QVBoxLayout>
00024 #include <QtGui/QWidget>
00025 #include "QmitkDataStorageComboBox.h"
00026
00027 QT_BEGIN_NAMESPACE
00028
00029 class Ui_QmitkColourImageProcessingViewControls
00030 {
00031 public:
00032 QVBoxLayout *verticalLayout;
00033 QLabel *m_NoImageSelectedLabel;
00034 QLabel *m_ImageSelectedLabel;
00035 QPushButton *m_ConvertImageToRGBA;
00036 QLabel *m_ImageMaskLabel;
00037 QPushButton *m_ConvertImageMaskToRGBA;
00038 QLabel *m_ImageMaskColorLabel;
00039 QFrame *frame;
00040 QHBoxLayout *horizontalLayout;
00041 QPushButton *m_ConvertImageMaskColorToRGBA;
00042 QPushButton *m_ColorButton;
00043 QPushButton *m_CombineRGBAButton;
00044 QSpacerItem *spacer1;
00045
00046 void setupUi(QWidget *QmitkColourImageProcessingViewControls)
00047 {
00048 if (QmitkColourImageProcessingViewControls->objectName().isEmpty())
00049 QmitkColourImageProcessingViewControls->setObjectName(QString::fromUtf8("QmitkColourImageProcessingViewControls"));
00050 QmitkColourImageProcessingViewControls->resize(242, 292);
00051 QmitkColourImageProcessingViewControls->setMinimumSize(QSize(0, 0));
00052 verticalLayout = new QVBoxLayout(QmitkColourImageProcessingViewControls);
00053 verticalLayout->setSpacing(6);
00054 verticalLayout->setContentsMargins(11, 11, 11, 11);
00055 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00056 m_NoImageSelectedLabel = new QLabel(QmitkColourImageProcessingViewControls);
00057 m_NoImageSelectedLabel->setObjectName(QString::fromUtf8("m_NoImageSelectedLabel"));
00058 m_NoImageSelectedLabel->setEnabled(true);
00059 QPalette palette;
00060 QBrush brush(QColor(197, 0, 0, 255));
00061 brush.setStyle(Qt::SolidPattern);
00062 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
00063 QBrush brush1(QColor(190, 0, 0, 255));
00064 brush1.setStyle(Qt::SolidPattern);
00065 palette.setBrush(QPalette::Active, QPalette::Text, brush1);
00066 QBrush brush2(QColor(177, 0, 0, 255));
00067 brush2.setStyle(Qt::SolidPattern);
00068 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush2);
00069 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
00070 palette.setBrush(QPalette::Inactive, QPalette::Text, brush1);
00071 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush2);
00072 QBrush brush3(QColor(120, 120, 120, 255));
00073 brush3.setStyle(Qt::SolidPattern);
00074 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush3);
00075 palette.setBrush(QPalette::Disabled, QPalette::Text, brush3);
00076 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush3);
00077 m_NoImageSelectedLabel->setPalette(palette);
00078
00079 verticalLayout->addWidget(m_NoImageSelectedLabel);
00080
00081 m_ImageSelectedLabel = new QLabel(QmitkColourImageProcessingViewControls);
00082 m_ImageSelectedLabel->setObjectName(QString::fromUtf8("m_ImageSelectedLabel"));
00083
00084 verticalLayout->addWidget(m_ImageSelectedLabel);
00085
00086 m_ConvertImageToRGBA = new QPushButton(QmitkColourImageProcessingViewControls);
00087 m_ConvertImageToRGBA->setObjectName(QString::fromUtf8("m_ConvertImageToRGBA"));
00088
00089 verticalLayout->addWidget(m_ConvertImageToRGBA);
00090
00091 m_ImageMaskLabel = new QLabel(QmitkColourImageProcessingViewControls);
00092 m_ImageMaskLabel->setObjectName(QString::fromUtf8("m_ImageMaskLabel"));
00093
00094 verticalLayout->addWidget(m_ImageMaskLabel);
00095
00096 m_ConvertImageMaskToRGBA = new QPushButton(QmitkColourImageProcessingViewControls);
00097 m_ConvertImageMaskToRGBA->setObjectName(QString::fromUtf8("m_ConvertImageMaskToRGBA"));
00098
00099 verticalLayout->addWidget(m_ConvertImageMaskToRGBA);
00100
00101 m_ImageMaskColorLabel = new QLabel(QmitkColourImageProcessingViewControls);
00102 m_ImageMaskColorLabel->setObjectName(QString::fromUtf8("m_ImageMaskColorLabel"));
00103
00104 verticalLayout->addWidget(m_ImageMaskColorLabel);
00105
00106 frame = new QFrame(QmitkColourImageProcessingViewControls);
00107 frame->setObjectName(QString::fromUtf8("frame"));
00108 frame->setFrameShape(QFrame::StyledPanel);
00109 frame->setFrameShadow(QFrame::Raised);
00110 horizontalLayout = new QHBoxLayout(frame);
00111 horizontalLayout->setSpacing(6);
00112 horizontalLayout->setContentsMargins(0, 0, 0, 0);
00113 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00114 m_ConvertImageMaskColorToRGBA = new QPushButton(frame);
00115 m_ConvertImageMaskColorToRGBA->setObjectName(QString::fromUtf8("m_ConvertImageMaskColorToRGBA"));
00116
00117 horizontalLayout->addWidget(m_ConvertImageMaskColorToRGBA);
00118
00119 m_ColorButton = new QPushButton(frame);
00120 m_ColorButton->setObjectName(QString::fromUtf8("m_ColorButton"));
00121 m_ColorButton->setMinimumSize(QSize(25, 0));
00122 m_ColorButton->setMaximumSize(QSize(25, 16777215));
00123 m_ColorButton->setAutoFillBackground(false);
00124
00125 horizontalLayout->addWidget(m_ColorButton);
00126
00127
00128 verticalLayout->addWidget(frame);
00129
00130 m_CombineRGBAButton = new QPushButton(QmitkColourImageProcessingViewControls);
00131 m_CombineRGBAButton->setObjectName(QString::fromUtf8("m_CombineRGBAButton"));
00132
00133 verticalLayout->addWidget(m_CombineRGBAButton);
00134
00135 spacer1 = new QSpacerItem(20, 220, QSizePolicy::Minimum, QSizePolicy::Expanding);
00136
00137 verticalLayout->addItem(spacer1);
00138
00139
00140 retranslateUi(QmitkColourImageProcessingViewControls);
00141
00142 QMetaObject::connectSlotsByName(QmitkColourImageProcessingViewControls);
00143 }
00144
00145 void retranslateUi(QWidget *QmitkColourImageProcessingViewControls)
00146 {
00147 QmitkColourImageProcessingViewControls->setWindowTitle(QApplication::translate("QmitkColourImageProcessingViewControls", "QmitkTemplate", 0, QApplication::UnicodeUTF8));
00148 m_NoImageSelectedLabel->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "Please select an image ", 0, QApplication::UnicodeUTF8));
00149 m_ImageSelectedLabel->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "TextLabel", 0, QApplication::UnicodeUTF8));
00150 #ifndef QT_NO_TOOLTIP
00151 m_ConvertImageToRGBA->setToolTip(QApplication::translate("QmitkColourImageProcessingViewControls", "start dumb segmentation", 0, QApplication::UnicodeUTF8));
00152 #endif // QT_NO_TOOLTIP
00153 m_ConvertImageToRGBA->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "image -> RGBA image", 0, QApplication::UnicodeUTF8));
00154 m_ImageMaskLabel->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "Please select an image + mask", 0, QApplication::UnicodeUTF8));
00155 m_ConvertImageMaskToRGBA->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "image + mask -> RGBA image", 0, QApplication::UnicodeUTF8));
00156 m_ImageMaskColorLabel->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "Please select an image + mask +color", 0, QApplication::UnicodeUTF8));
00157 m_ConvertImageMaskColorToRGBA->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "image + mask + color -> RGBA image", 0, QApplication::UnicodeUTF8));
00158 m_ColorButton->setStyleSheet(QApplication::translate("QmitkColourImageProcessingViewControls", "background-color:rgb(255,0,0)", 0, QApplication::UnicodeUTF8));
00159 m_ColorButton->setText(QString());
00160 m_CombineRGBAButton->setText(QApplication::translate("QmitkColourImageProcessingViewControls", "Combine RGBA images", 0, QApplication::UnicodeUTF8));
00161 }
00162
00163 };
00164
00165 namespace Ui {
00166 class QmitkColourImageProcessingViewControls: public Ui_QmitkColourImageProcessingViewControls {};
00167 }
00168
00169 QT_END_NAMESPACE
00170
00171 #endif // UI_QMITKCOLOURIMAGEPROCESSINGVIEWCONTROLS_H