Public Member Functions | Public Attributes

Ui_QmitkSegmentationControls Class Reference

#include <ui_QmitkSegmentationControls.h>

Inheritance diagram for Ui_QmitkSegmentationControls:
Inheritance graph
[legend]
Collaboration diagram for Ui_QmitkSegmentationControls:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setupUi (QWidget *QmitkSegmentationControls)
void retranslateUi (QWidget *QmitkSegmentationControls)

Public Attributes

QVBoxLayout * verticalLayout_6
QGroupBox * groupBox
QVBoxLayout * verticalLayout_3
QHBoxLayout * horizontalLayout
QLabel * lblRefImage
QmitkDataStorageComboBoxrefImageSelector
QLabel * lblReferenceImageSelectionWarning
QHBoxLayout * horizontalLayout_2
QLabel * lblSegImage
QLabel * lblSegmentation
QToolBox * widgetStack
QWidget * pageManual
QVBoxLayout * verticalLayout
QLabel * lblAlignmentWarning
QLabel * lblWorkingImageSelectionWarning
QToolButton * btnNewSegmentation
QLabel * lblManualTools
QmitkToolSelectionBoxm_ManualToolSelectionBox
QmitkToolGUIAream_ManualToolGUIContainer
QLabel * lblInterpolation
QmitkSlicesInterpolatorm_SlicesInterpolator
QSpacerItem * verticalSpacer
QWidget * pageOrgans
QVBoxLayout * verticalLayout_2
QmitkToolSelectionBoxm_OrganToolSelectionBox
QmitkToolGUIAream_OrganToolGUIContainer
QSpacerItem * verticalSpacer_2
QWidget * pageLesions
QVBoxLayout * verticalLayout_4
QmitkToolSelectionBoxm_LesionToolSelectionBox
QmitkToolGUIAream_LesionToolGUIContainer
QSpacerItem * verticalSpacer_3
QWidget * SurfaceMasking
QVBoxLayout * verticalLayout_5
QLabel * label
QmitkDataStorageComboBoxMaskSurfaces
QPushButton * CreateSegmentationFromSurface
QSpacerItem * verticalSpacer_4

Detailed Description

Definition at line 35 of file ui_QmitkSegmentationControls.h.


Member Function Documentation

void Ui_QmitkSegmentationControls::retranslateUi ( QWidget *  QmitkSegmentationControls ) [inline]

Definition at line 358 of file ui_QmitkSegmentationControls.h.

References btnNewSegmentation, CreateSegmentationFromSurface, groupBox, label, lblAlignmentWarning, lblInterpolation, lblManualTools, lblReferenceImageSelectionWarning, lblRefImage, lblSegImage, lblSegmentation, lblWorkingImageSelectionWarning, pageLesions, pageManual, pageOrgans, SurfaceMasking, and widgetStack.

Referenced by setupUi().

    {
        QmitkSegmentationControls->setWindowTitle(QApplication::translate("QmitkSegmentationControls", "QmitkSegmentation", 0, QApplication::UnicodeUTF8));
        groupBox->setTitle(QString());
        lblRefImage->setText(QApplication::translate("QmitkSegmentationControls", "Reference image", 0, QApplication::UnicodeUTF8));
        lblReferenceImageSelectionWarning->setText(QApplication::translate("QmitkSegmentationControls", "Please load an image!", 0, QApplication::UnicodeUTF8));
        lblSegImage->setText(QApplication::translate("QmitkSegmentationControls", "Segmentation image", 0, QApplication::UnicodeUTF8));
        lblSegmentation->setText(QString());
        lblAlignmentWarning->setText(QApplication::translate("QmitkSegmentationControls", "Perform 'reinit' on patient image!", 0, QApplication::UnicodeUTF8));
        lblWorkingImageSelectionWarning->setText(QApplication::translate("QmitkSegmentationControls", "Select or create a segmentation!", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        btnNewSegmentation->setToolTip(QApplication::translate("QmitkSegmentationControls", "New segmentation", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        btnNewSegmentation->setText(QApplication::translate("QmitkSegmentationControls", "New segmentation", 0, QApplication::UnicodeUTF8));
        lblManualTools->setText(QApplication::translate("QmitkSegmentationControls", "Editing tools", 0, QApplication::UnicodeUTF8));
        lblInterpolation->setText(QApplication::translate("QmitkSegmentationControls", "Contour interpolation", 0, QApplication::UnicodeUTF8));
        widgetStack->setItemText(widgetStack->indexOf(pageManual), QApplication::translate("QmitkSegmentationControls", "Contouring", 0, QApplication::UnicodeUTF8));
        widgetStack->setItemText(widgetStack->indexOf(pageOrgans), QApplication::translate("QmitkSegmentationControls", "Organs", 0, QApplication::UnicodeUTF8));
        widgetStack->setItemText(widgetStack->indexOf(pageLesions), QApplication::translate("QmitkSegmentationControls", "Lesions", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("QmitkSegmentationControls", "Select Surface For Image Masking:", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        CreateSegmentationFromSurface->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        CreateSegmentationFromSurface->setText(QApplication::translate("QmitkSegmentationControls", "Create Segmentation From Surface", 0, QApplication::UnicodeUTF8));
        widgetStack->setItemText(widgetStack->indexOf(SurfaceMasking), QApplication::translate("QmitkSegmentationControls", "Surface Masking", 0, QApplication::UnicodeUTF8));
    } // retranslateUi
void Ui_QmitkSegmentationControls::setupUi ( QWidget *  QmitkSegmentationControls ) [inline]

Definition at line 77 of file ui_QmitkSegmentationControls.h.

References btnNewSegmentation, CreateSegmentationFromSurface, groupBox, horizontalLayout, horizontalLayout_2, label, lblAlignmentWarning, lblInterpolation, lblManualTools, lblReferenceImageSelectionWarning, lblRefImage, lblSegImage, lblSegmentation, lblWorkingImageSelectionWarning, m_LesionToolGUIContainer, m_LesionToolSelectionBox, m_ManualToolGUIContainer, m_ManualToolSelectionBox, m_OrganToolGUIContainer, m_OrganToolSelectionBox, m_SlicesInterpolator, MaskSurfaces, pageLesions, pageManual, pageOrgans, refImageSelector, retranslateUi(), SurfaceMasking, verticalLayout, verticalLayout_2, verticalLayout_3, verticalLayout_4, verticalLayout_5, verticalLayout_6, verticalSpacer, verticalSpacer_2, verticalSpacer_3, verticalSpacer_4, and widgetStack.

Referenced by QmitkSegmentationView::CreateQtPartControl().

    {
        if (QmitkSegmentationControls->objectName().isEmpty())
            QmitkSegmentationControls->setObjectName(QString::fromUtf8("QmitkSegmentationControls"));
        QmitkSegmentationControls->resize(241, 393);
        QmitkSegmentationControls->setMinimumSize(QSize(0, 0));
        QFont font;
        font.setFamily(QString::fromUtf8("MS Shell Dlg 2"));
        font.setPointSize(8);
        font.setBold(false);
        font.setItalic(false);
        font.setUnderline(false);
        font.setWeight(50);
        font.setStrikeOut(false);
        QmitkSegmentationControls->setFont(font);
        verticalLayout_6 = new QVBoxLayout(QmitkSegmentationControls);
        verticalLayout_6->setSpacing(6);
        verticalLayout_6->setContentsMargins(11, 11, 11, 11);
        verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
        groupBox = new QGroupBox(QmitkSegmentationControls);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        verticalLayout_3 = new QVBoxLayout(groupBox);
        verticalLayout_3->setSpacing(6);
        verticalLayout_3->setContentsMargins(11, 11, 11, 11);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(6);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        lblRefImage = new QLabel(groupBox);
        lblRefImage->setObjectName(QString::fromUtf8("lblRefImage"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lblRefImage->sizePolicy().hasHeightForWidth());
        lblRefImage->setSizePolicy(sizePolicy);
        lblRefImage->setMinimumSize(QSize(0, 0));
        lblRefImage->setMaximumSize(QSize(16777215, 16777215));

        horizontalLayout->addWidget(lblRefImage);

        refImageSelector = new QmitkDataStorageComboBox(groupBox);
        refImageSelector->setObjectName(QString::fromUtf8("refImageSelector"));

        horizontalLayout->addWidget(refImageSelector);


        verticalLayout_3->addLayout(horizontalLayout);

        lblReferenceImageSelectionWarning = new QLabel(groupBox);
        lblReferenceImageSelectionWarning->setObjectName(QString::fromUtf8("lblReferenceImageSelectionWarning"));
        QPalette palette;
        QBrush brush(QColor(200, 0, 0, 255));
        brush.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
        palette.setBrush(QPalette::Active, QPalette::Text, brush);
        palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
        palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
        palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
        palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
        QBrush brush1(QColor(84, 82, 78, 255));
        brush1.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush1);
        palette.setBrush(QPalette::Disabled, QPalette::Text, brush1);
        palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1);
        lblReferenceImageSelectionWarning->setPalette(palette);
        QFont font1;
        font1.setBold(false);
        font1.setWeight(50);
        lblReferenceImageSelectionWarning->setFont(font1);

        verticalLayout_3->addWidget(lblReferenceImageSelectionWarning);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        lblSegImage = new QLabel(groupBox);
        lblSegImage->setObjectName(QString::fromUtf8("lblSegImage"));

        horizontalLayout_2->addWidget(lblSegImage);

        lblSegmentation = new QLabel(groupBox);
        lblSegmentation->setObjectName(QString::fromUtf8("lblSegmentation"));

        horizontalLayout_2->addWidget(lblSegmentation);


        verticalLayout_3->addLayout(horizontalLayout_2);


        verticalLayout_6->addWidget(groupBox);

        widgetStack = new QToolBox(QmitkSegmentationControls);
        widgetStack->setObjectName(QString::fromUtf8("widgetStack"));
        pageManual = new QWidget();
        pageManual->setObjectName(QString::fromUtf8("pageManual"));
        pageManual->setGeometry(QRect(0, 0, 223, 176));
        verticalLayout = new QVBoxLayout(pageManual);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        verticalLayout->setContentsMargins(0, -1, 0, -1);
        lblAlignmentWarning = new QLabel(pageManual);
        lblAlignmentWarning->setObjectName(QString::fromUtf8("lblAlignmentWarning"));
        QPalette palette1;
        palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
        palette1.setBrush(QPalette::Active, QPalette::Text, brush);
        palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush);
        palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
        palette1.setBrush(QPalette::Inactive, QPalette::Text, brush);
        palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
        palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush1);
        palette1.setBrush(QPalette::Disabled, QPalette::Text, brush1);
        palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1);
        lblAlignmentWarning->setPalette(palette1);
        lblAlignmentWarning->setFont(font1);

        verticalLayout->addWidget(lblAlignmentWarning);

        lblWorkingImageSelectionWarning = new QLabel(pageManual);
        lblWorkingImageSelectionWarning->setObjectName(QString::fromUtf8("lblWorkingImageSelectionWarning"));
        QPalette palette2;
        palette2.setBrush(QPalette::Active, QPalette::WindowText, brush);
        palette2.setBrush(QPalette::Active, QPalette::Text, brush);
        palette2.setBrush(QPalette::Active, QPalette::ButtonText, brush);
        palette2.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
        palette2.setBrush(QPalette::Inactive, QPalette::Text, brush);
        palette2.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
        palette2.setBrush(QPalette::Disabled, QPalette::WindowText, brush1);
        palette2.setBrush(QPalette::Disabled, QPalette::Text, brush1);
        palette2.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1);
        lblWorkingImageSelectionWarning->setPalette(palette2);
        lblWorkingImageSelectionWarning->setFont(font1);

        verticalLayout->addWidget(lblWorkingImageSelectionWarning);

        btnNewSegmentation = new QToolButton(pageManual);
        btnNewSegmentation->setObjectName(QString::fromUtf8("btnNewSegmentation"));
        btnNewSegmentation->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(1);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(btnNewSegmentation->sizePolicy().hasHeightForWidth());
        btnNewSegmentation->setSizePolicy(sizePolicy1);
        btnNewSegmentation->setFont(font1);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/segmentation/btnNew.png"), QSize(), QIcon::Normal, QIcon::Off);
        btnNewSegmentation->setIcon(icon);
        btnNewSegmentation->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);

        verticalLayout->addWidget(btnNewSegmentation);

        lblManualTools = new QLabel(pageManual);
        lblManualTools->setObjectName(QString::fromUtf8("lblManualTools"));
        QFont font2;
        font2.setBold(true);
        font2.setWeight(75);
        lblManualTools->setFont(font2);

        verticalLayout->addWidget(lblManualTools);

        m_ManualToolSelectionBox = new QmitkToolSelectionBox(pageManual);
        m_ManualToolSelectionBox->setObjectName(QString::fromUtf8("m_ManualToolSelectionBox"));
        m_ManualToolSelectionBox->setFont(font1);

        verticalLayout->addWidget(m_ManualToolSelectionBox);

        m_ManualToolGUIContainer = new QmitkToolGUIArea(pageManual);
        m_ManualToolGUIContainer->setObjectName(QString::fromUtf8("m_ManualToolGUIContainer"));
        m_ManualToolGUIContainer->setFont(font1);

        verticalLayout->addWidget(m_ManualToolGUIContainer);

        lblInterpolation = new QLabel(pageManual);
        lblInterpolation->setObjectName(QString::fromUtf8("lblInterpolation"));
        lblInterpolation->setFont(font2);

        verticalLayout->addWidget(lblInterpolation);

        m_SlicesInterpolator = new QmitkSlicesInterpolator(pageManual);
        m_SlicesInterpolator->setObjectName(QString::fromUtf8("m_SlicesInterpolator"));
        m_SlicesInterpolator->setFont(font1);

        verticalLayout->addWidget(m_SlicesInterpolator);

        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);

        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/segmentation/segmentation.png"), QSize(), QIcon::Normal, QIcon::Off);
        widgetStack->addItem(pageManual, icon1, QString::fromUtf8("Contouring"));
        pageOrgans = new QWidget();
        pageOrgans->setObjectName(QString::fromUtf8("pageOrgans"));
        pageOrgans->setGeometry(QRect(0, 0, 98, 30));
        verticalLayout_2 = new QVBoxLayout(pageOrgans);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        verticalLayout_2->setContentsMargins(0, -1, 0, -1);
        m_OrganToolSelectionBox = new QmitkToolSelectionBox(pageOrgans);
        m_OrganToolSelectionBox->setObjectName(QString::fromUtf8("m_OrganToolSelectionBox"));
        m_OrganToolSelectionBox->setFont(font1);

        verticalLayout_2->addWidget(m_OrganToolSelectionBox);

        m_OrganToolGUIContainer = new QmitkToolGUIArea(pageOrgans);
        m_OrganToolGUIContainer->setObjectName(QString::fromUtf8("m_OrganToolGUIContainer"));
        m_OrganToolGUIContainer->setFont(font1);

        verticalLayout_2->addWidget(m_OrganToolGUIContainer);

        verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_2->addItem(verticalSpacer_2);

        widgetStack->addItem(pageOrgans, QString::fromUtf8("Organs"));
        pageLesions = new QWidget();
        pageLesions->setObjectName(QString::fromUtf8("pageLesions"));
        pageLesions->setGeometry(QRect(0, 0, 98, 30));
        verticalLayout_4 = new QVBoxLayout(pageLesions);
        verticalLayout_4->setSpacing(6);
        verticalLayout_4->setContentsMargins(11, 11, 11, 11);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        verticalLayout_4->setContentsMargins(0, -1, 0, -1);
        m_LesionToolSelectionBox = new QmitkToolSelectionBox(pageLesions);
        m_LesionToolSelectionBox->setObjectName(QString::fromUtf8("m_LesionToolSelectionBox"));
        m_LesionToolSelectionBox->setFont(font1);

        verticalLayout_4->addWidget(m_LesionToolSelectionBox);

        m_LesionToolGUIContainer = new QmitkToolGUIArea(pageLesions);
        m_LesionToolGUIContainer->setObjectName(QString::fromUtf8("m_LesionToolGUIContainer"));
        m_LesionToolGUIContainer->setFont(font1);

        verticalLayout_4->addWidget(m_LesionToolGUIContainer);

        verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_4->addItem(verticalSpacer_3);

        widgetStack->addItem(pageLesions, QString::fromUtf8("Lesions"));
        SurfaceMasking = new QWidget();
        SurfaceMasking->setObjectName(QString::fromUtf8("SurfaceMasking"));
        SurfaceMasking->setGeometry(QRect(0, 0, 223, 176));
        verticalLayout_5 = new QVBoxLayout(SurfaceMasking);
        verticalLayout_5->setSpacing(6);
        verticalLayout_5->setContentsMargins(11, 11, 11, 11);
        verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
        label = new QLabel(SurfaceMasking);
        label->setObjectName(QString::fromUtf8("label"));

        verticalLayout_5->addWidget(label);

        MaskSurfaces = new QmitkDataStorageComboBox(SurfaceMasking);
        MaskSurfaces->setObjectName(QString::fromUtf8("MaskSurfaces"));

        verticalLayout_5->addWidget(MaskSurfaces);

        CreateSegmentationFromSurface = new QPushButton(SurfaceMasking);
        CreateSegmentationFromSurface->setObjectName(QString::fromUtf8("CreateSegmentationFromSurface"));
        CreateSegmentationFromSurface->setEnabled(false);

        verticalLayout_5->addWidget(CreateSegmentationFromSurface);

        verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_5->addItem(verticalSpacer_4);

        widgetStack->addItem(SurfaceMasking, QString::fromUtf8("Surface Masking"));

        verticalLayout_6->addWidget(widgetStack);


        retranslateUi(QmitkSegmentationControls);

        widgetStack->setCurrentIndex(0);


        QMetaObject::connectSlotsByName(QmitkSegmentationControls);
    } // setupUi

Member Data Documentation

Definition at line 39 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 41 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 45 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 72 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 57 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 54 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 42 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 65 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 60 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 70 of file ui_QmitkSegmentationControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 50 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 61 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 40 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 66 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 71 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 38 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 59 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 64 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 69 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().

Definition at line 75 of file ui_QmitkSegmentationControls.h.

Referenced by setupUi().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines