Public Member Functions | Public Attributes

Ui_QmitkImageCropperControls Class Reference

#include <ui_QmitkImageCropperControls.h>

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

List of all members.

Public Member Functions

void setupUi (QWidget *QmitkImageCropperControls)
void retranslateUi (QWidget *QmitkImageCropperControls)

Public Attributes

QVBoxLayout * vboxLayout
QLabel * textLabel1
QmitkDataStorageComboBoxcmbImage
QCheckBox * m_EnableSurroundingCheckBox
QLabel * m_TLGrayvalue
QHBoxLayout * hboxLayout
QSlider * m_SurroundingSlider
QSpinBox * m_SurroundingSpin
QToolButton * btnCrop
QToolButton * m_NewBoxButton
QCheckBox * chkInformation
QGroupBox * groupInfo
QVBoxLayout * vboxLayout1
QLabel * lblInfo
QHBoxLayout * hboxLayout1
QLabel * pixlblWhatToDo
QLabel * pixlblWhatToDo_2
QLabel * textLabel2
QHBoxLayout * hboxLayout2
QLabel * pixlblWhatToDo_3
QLabel * pixlblWhatToDo_2_2
QLabel * textLabel2_2
QHBoxLayout * hboxLayout3
QLabel * pixlblWhatToDo_3_2
QLabel * pixlblWhatToDo_2_2_2
QLabel * textLabel2_2_2
QSpacerItem * spacer3

Detailed Description

Definition at line 32 of file ui_QmitkImageCropperControls.h.


Member Function Documentation

void Ui_QmitkImageCropperControls::retranslateUi ( QWidget *  QmitkImageCropperControls ) [inline]

Definition at line 271 of file ui_QmitkImageCropperControls.h.

References btnCrop, chkInformation, groupInfo, lblInfo, m_EnableSurroundingCheckBox, m_NewBoxButton, m_TLGrayvalue, pixlblWhatToDo_3, pixlblWhatToDo_3_2, textLabel1, textLabel2, textLabel2_2, and textLabel2_2_2.

Referenced by setupUi().

    {
        QmitkImageCropperControls->setWindowTitle(QApplication::translate("QmitkImageCropperControls", "BoundingObjectImageCropper", 0, QApplication::UnicodeUTF8));
        textLabel1->setText(QApplication::translate("QmitkImageCropperControls", "Select the image to crop:", 0, QApplication::UnicodeUTF8));
        m_EnableSurroundingCheckBox->setText(QApplication::translate("QmitkImageCropperControls", "Set border voxels to specific value after cropping", 0, QApplication::UnicodeUTF8));
        m_TLGrayvalue->setText(QApplication::translate("QmitkImageCropperControls", "Select grayvalue of the border voxels", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        btnCrop->setToolTip(QApplication::translate("QmitkImageCropperControls", "crop the selected image", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        btnCrop->setText(QApplication::translate("QmitkImageCropperControls", "Crop", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        m_NewBoxButton->setToolTip(QApplication::translate("QmitkImageCropperControls", "crop the selected image", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        m_NewBoxButton->setText(QApplication::translate("QmitkImageCropperControls", "New bounding box!", 0, QApplication::UnicodeUTF8));
        chkInformation->setText(QApplication::translate("QmitkImageCropperControls", "Show usage information", 0, QApplication::UnicodeUTF8));
        groupInfo->setTitle(QString());
        lblInfo->setText(QApplication::translate("QmitkImageCropperControls", "The yellow box around the selected image can be changed in size and orientation. You can use it so mark an interesing region of the image and then use the \"Crop\" button to cut off parts of the image that are outside the box.<br>\n"
"The original image will not be modified, it will only be hidden.", 0, QApplication::UnicodeUTF8));
        textLabel2->setText(QApplication::translate("QmitkImageCropperControls", "Move the box", 0, QApplication::UnicodeUTF8));
        pixlblWhatToDo_3->setText(QString());
        textLabel2_2->setText(QApplication::translate("QmitkImageCropperControls", "Rotate the box", 0, QApplication::UnicodeUTF8));
        pixlblWhatToDo_3_2->setText(QString());
        textLabel2_2_2->setText(QApplication::translate("QmitkImageCropperControls", "Resize the box", 0, QApplication::UnicodeUTF8));
    } // retranslateUi
void Ui_QmitkImageCropperControls::setupUi ( QWidget *  QmitkImageCropperControls ) [inline]

Definition at line 63 of file ui_QmitkImageCropperControls.h.

References btnCrop, chkInformation, cmbImage, groupInfo, hboxLayout, hboxLayout1, hboxLayout2, hboxLayout3, lblInfo, m_EnableSurroundingCheckBox, m_NewBoxButton, m_SurroundingSlider, m_SurroundingSpin, m_TLGrayvalue, pixlblWhatToDo, pixlblWhatToDo_2, pixlblWhatToDo_2_2, pixlblWhatToDo_2_2_2, pixlblWhatToDo_3, pixlblWhatToDo_3_2, retranslateUi(), spacer3, textLabel1, textLabel2, textLabel2_2, textLabel2_2_2, vboxLayout, and vboxLayout1.

Referenced by QmitkImageCropper::CreateQtPartControl().

    {
        if (QmitkImageCropperControls->objectName().isEmpty())
            QmitkImageCropperControls->setObjectName(QString::fromUtf8("QmitkImageCropperControls"));
        QmitkImageCropperControls->resize(339, 651);
        QmitkImageCropperControls->setMinimumSize(QSize(0, 0));
        vboxLayout = new QVBoxLayout(QmitkImageCropperControls);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        textLabel1 = new QLabel(QmitkImageCropperControls);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

        vboxLayout->addWidget(textLabel1);

        cmbImage = new QmitkDataStorageComboBox(QmitkImageCropperControls);
        cmbImage->setObjectName(QString::fromUtf8("cmbImage"));

        vboxLayout->addWidget(cmbImage);

        m_EnableSurroundingCheckBox = new QCheckBox(QmitkImageCropperControls);
        m_EnableSurroundingCheckBox->setObjectName(QString::fromUtf8("m_EnableSurroundingCheckBox"));

        vboxLayout->addWidget(m_EnableSurroundingCheckBox);

        m_TLGrayvalue = new QLabel(QmitkImageCropperControls);
        m_TLGrayvalue->setObjectName(QString::fromUtf8("m_TLGrayvalue"));
        m_TLGrayvalue->setWordWrap(false);

        vboxLayout->addWidget(m_TLGrayvalue);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_SurroundingSlider = new QSlider(QmitkImageCropperControls);
        m_SurroundingSlider->setObjectName(QString::fromUtf8("m_SurroundingSlider"));
        m_SurroundingSlider->setMinimum(-2000);
        m_SurroundingSlider->setMaximum(2000);
        m_SurroundingSlider->setValue(1000);
        m_SurroundingSlider->setOrientation(Qt::Horizontal);

        hboxLayout->addWidget(m_SurroundingSlider);

        m_SurroundingSpin = new QSpinBox(QmitkImageCropperControls);
        m_SurroundingSpin->setObjectName(QString::fromUtf8("m_SurroundingSpin"));
        m_SurroundingSpin->setMinimum(-32767);
        m_SurroundingSpin->setMaximum(32767);
        m_SurroundingSpin->setValue(1000);

        hboxLayout->addWidget(m_SurroundingSpin);


        vboxLayout->addLayout(hboxLayout);

        btnCrop = new QToolButton(QmitkImageCropperControls);
        btnCrop->setObjectName(QString::fromUtf8("btnCrop"));
        btnCrop->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(btnCrop->sizePolicy().hasHeightForWidth());
        btnCrop->setSizePolicy(sizePolicy);
        btnCrop->setMinimumSize(QSize(200, 0));

        vboxLayout->addWidget(btnCrop);

        m_NewBoxButton = new QToolButton(QmitkImageCropperControls);
        m_NewBoxButton->setObjectName(QString::fromUtf8("m_NewBoxButton"));
        m_NewBoxButton->setEnabled(false);
        sizePolicy.setHeightForWidth(m_NewBoxButton->sizePolicy().hasHeightForWidth());
        m_NewBoxButton->setSizePolicy(sizePolicy);
        m_NewBoxButton->setMinimumSize(QSize(200, 0));

        vboxLayout->addWidget(m_NewBoxButton);

        chkInformation = new QCheckBox(QmitkImageCropperControls);
        chkInformation->setObjectName(QString::fromUtf8("chkInformation"));

        vboxLayout->addWidget(chkInformation);

        groupInfo = new QGroupBox(QmitkImageCropperControls);
        groupInfo->setObjectName(QString::fromUtf8("groupInfo"));
        vboxLayout1 = new QVBoxLayout(groupInfo);
        vboxLayout1->setSpacing(6);
        vboxLayout1->setContentsMargins(11, 11, 11, 11);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        lblInfo = new QLabel(groupInfo);
        lblInfo->setObjectName(QString::fromUtf8("lblInfo"));
        lblInfo->setAlignment(Qt::AlignVCenter);
        lblInfo->setWordWrap(true);

        vboxLayout1->addWidget(lblInfo);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        pixlblWhatToDo = new QLabel(groupInfo);
        pixlblWhatToDo->setObjectName(QString::fromUtf8("pixlblWhatToDo"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(pixlblWhatToDo->sizePolicy().hasHeightForWidth());
        pixlblWhatToDo->setSizePolicy(sizePolicy1);
        pixlblWhatToDo->setPixmap(QPixmap(QString::fromUtf8(":/imagecropper/btn_ctrl.xpm")));
        pixlblWhatToDo->setScaledContents(false);
        pixlblWhatToDo->setWordWrap(false);

        hboxLayout1->addWidget(pixlblWhatToDo);

        pixlblWhatToDo_2 = new QLabel(groupInfo);
        pixlblWhatToDo_2->setObjectName(QString::fromUtf8("pixlblWhatToDo_2"));
        sizePolicy1.setHeightForWidth(pixlblWhatToDo_2->sizePolicy().hasHeightForWidth());
        pixlblWhatToDo_2->setSizePolicy(sizePolicy1);
        pixlblWhatToDo_2->setPixmap(QPixmap(QString::fromUtf8(":/imagecropper/mouse_left.xpm")));
        pixlblWhatToDo_2->setScaledContents(false);
        pixlblWhatToDo_2->setWordWrap(false);

        hboxLayout1->addWidget(pixlblWhatToDo_2);

        textLabel2 = new QLabel(groupInfo);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setWordWrap(false);

        hboxLayout1->addWidget(textLabel2);


        vboxLayout1->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        pixlblWhatToDo_3 = new QLabel(groupInfo);
        pixlblWhatToDo_3->setObjectName(QString::fromUtf8("pixlblWhatToDo_3"));
        sizePolicy1.setHeightForWidth(pixlblWhatToDo_3->sizePolicy().hasHeightForWidth());
        pixlblWhatToDo_3->setSizePolicy(sizePolicy1);
        pixlblWhatToDo_3->setPixmap(QPixmap(QString::fromUtf8(":/imagecropper/btn_ctrl.xpm")));
        pixlblWhatToDo_3->setScaledContents(false);
        pixlblWhatToDo_3->setWordWrap(false);

        hboxLayout2->addWidget(pixlblWhatToDo_3);

        pixlblWhatToDo_2_2 = new QLabel(groupInfo);
        pixlblWhatToDo_2_2->setObjectName(QString::fromUtf8("pixlblWhatToDo_2_2"));
        sizePolicy1.setHeightForWidth(pixlblWhatToDo_2_2->sizePolicy().hasHeightForWidth());
        pixlblWhatToDo_2_2->setSizePolicy(sizePolicy1);
        pixlblWhatToDo_2_2->setPixmap(QPixmap(QString::fromUtf8(":/imagecropper/mouse_middle.xpm")));
        pixlblWhatToDo_2_2->setScaledContents(false);
        pixlblWhatToDo_2_2->setWordWrap(false);

        hboxLayout2->addWidget(pixlblWhatToDo_2_2);

        textLabel2_2 = new QLabel(groupInfo);
        textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
        textLabel2_2->setWordWrap(false);

        hboxLayout2->addWidget(textLabel2_2);


        vboxLayout1->addLayout(hboxLayout2);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setSpacing(6);
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        pixlblWhatToDo_3_2 = new QLabel(groupInfo);
        pixlblWhatToDo_3_2->setObjectName(QString::fromUtf8("pixlblWhatToDo_3_2"));
        sizePolicy1.setHeightForWidth(pixlblWhatToDo_3_2->sizePolicy().hasHeightForWidth());
        pixlblWhatToDo_3_2->setSizePolicy(sizePolicy1);
        pixlblWhatToDo_3_2->setPixmap(QPixmap(QString::fromUtf8(":/imagecropper/btn_ctrl.xpm")));
        pixlblWhatToDo_3_2->setScaledContents(false);
        pixlblWhatToDo_3_2->setWordWrap(false);

        hboxLayout3->addWidget(pixlblWhatToDo_3_2);

        pixlblWhatToDo_2_2_2 = new QLabel(groupInfo);
        pixlblWhatToDo_2_2_2->setObjectName(QString::fromUtf8("pixlblWhatToDo_2_2_2"));
        sizePolicy1.setHeightForWidth(pixlblWhatToDo_2_2_2->sizePolicy().hasHeightForWidth());
        pixlblWhatToDo_2_2_2->setSizePolicy(sizePolicy1);
        pixlblWhatToDo_2_2_2->setPixmap(QPixmap(QString::fromUtf8(":/imagecropper/mouse_right.xpm")));
        pixlblWhatToDo_2_2_2->setScaledContents(false);
        pixlblWhatToDo_2_2_2->setWordWrap(false);

        hboxLayout3->addWidget(pixlblWhatToDo_2_2_2);

        textLabel2_2_2 = new QLabel(groupInfo);
        textLabel2_2_2->setObjectName(QString::fromUtf8("textLabel2_2_2"));
        textLabel2_2_2->setWordWrap(false);

        hboxLayout3->addWidget(textLabel2_2_2);


        vboxLayout1->addLayout(hboxLayout3);


        vboxLayout->addWidget(groupInfo);

        spacer3 = new QSpacerItem(20, 200, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacer3);


        retranslateUi(QmitkImageCropperControls);
        QObject::connect(m_SurroundingSlider, SIGNAL(valueChanged(int)), m_SurroundingSpin, SLOT(setValue(int)));
        QObject::connect(m_SurroundingSpin, SIGNAL(valueChanged(int)), m_SurroundingSlider, SLOT(setValue(int)));

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

Member Data Documentation

Definition at line 40 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 49 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 53 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 57 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 48 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 50 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 51 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 55 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 59 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 54 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 58 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 61 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 36 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 52 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 56 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 60 of file ui_QmitkImageCropperControls.h.

Referenced by retranslateUi(), and setupUi().

Definition at line 35 of file ui_QmitkImageCropperControls.h.

Referenced by setupUi().

Definition at line 47 of file ui_QmitkImageCropperControls.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