00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef CONTOURSURFACEDIALOGDATA_H
00011 #define CONTOURSURFACEDIALOGDATA_H
00012
00013 #include <BALL/COMMON/global.h>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QComboBox>
00019 #include <QtGui/QDialog>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_ContourSurfaceDialogData
00028 {
00029 public:
00030 QPushButton *buttonCancel;
00031 QPushButton *buttonOk;
00032 QGroupBox *groupBox1;
00033 QComboBox *grids;
00034 QGroupBox *groupBox5;
00035 QPushButton *color_button;
00036 QLabel *color_label;
00037 QGroupBox *groupBox1_2;
00038 QLineEdit *threshold;
00039
00040 void setupUi(QDialog *ContourSurfaceDialogData)
00041 {
00042 if (ContourSurfaceDialogData->objectName().isEmpty())
00043 ContourSurfaceDialogData->setObjectName(QString::fromUtf8("ContourSurfaceDialogData"));
00044 ContourSurfaceDialogData->resize(390, 156);
00045 ContourSurfaceDialogData->setSizeGripEnabled(false);
00046 buttonCancel = new QPushButton(ContourSurfaceDialogData);
00047 buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
00048 buttonCancel->setGeometry(QRect(198, 117, 182, 30));
00049 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00050 sizePolicy.setHorizontalStretch(0);
00051 sizePolicy.setVerticalStretch(0);
00052 sizePolicy.setHeightForWidth(buttonCancel->sizePolicy().hasHeightForWidth());
00053 buttonCancel->setSizePolicy(sizePolicy);
00054 buttonCancel->setMinimumSize(QSize(133, 30));
00055 buttonCancel->setMaximumSize(QSize(32767, 30));
00056 buttonCancel->setAutoDefault(true);
00057 buttonOk = new QPushButton(ContourSurfaceDialogData);
00058 buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
00059 buttonOk->setEnabled(false);
00060 buttonOk->setGeometry(QRect(9, 117, 183, 30));
00061 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00062 sizePolicy1.setHorizontalStretch(0);
00063 sizePolicy1.setVerticalStretch(0);
00064 sizePolicy1.setHeightForWidth(buttonOk->sizePolicy().hasHeightForWidth());
00065 buttonOk->setSizePolicy(sizePolicy1);
00066 buttonOk->setMinimumSize(QSize(133, 30));
00067 buttonOk->setMaximumSize(QSize(32767, 30));
00068 buttonOk->setAutoDefault(true);
00069 buttonOk->setDefault(true);
00070 groupBox1 = new QGroupBox(ContourSurfaceDialogData);
00071 groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
00072 groupBox1->setGeometry(QRect(5, 0, 378, 50));
00073 grids = new QComboBox(groupBox1);
00074 grids->setObjectName(QString::fromUtf8("grids"));
00075 grids->setGeometry(QRect(9, 18, 361, 24));
00076 groupBox5 = new QGroupBox(ContourSurfaceDialogData);
00077 groupBox5->setObjectName(QString::fromUtf8("groupBox5"));
00078 groupBox5->setGeometry(QRect(5, 53, 229, 54));
00079 color_button = new QPushButton(groupBox5);
00080 color_button->setObjectName(QString::fromUtf8("color_button"));
00081 color_button->setGeometry(QRect(150, 17, 70, 30));
00082 color_button->setMinimumSize(QSize(70, 30));
00083 color_button->setMaximumSize(QSize(70, 30));
00084 color_button->setFocusPolicy(Qt::TabFocus);
00085 color_button->setAutoDefault(true);
00086 color_label = new QLabel(groupBox5);
00087 color_label->setObjectName(QString::fromUtf8("color_label"));
00088 color_label->setGeometry(QRect(9, 18, 131, 30));
00089 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
00090 sizePolicy2.setHorizontalStretch(0);
00091 sizePolicy2.setVerticalStretch(0);
00092 sizePolicy2.setHeightForWidth(color_label->sizePolicy().hasHeightForWidth());
00093 color_label->setSizePolicy(sizePolicy2);
00094 color_label->setMinimumSize(QSize(60, 0));
00095 QPalette palette;
00096 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
00097 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(221, 223, 228));
00098 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255));
00099 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255));
00100 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(85, 85, 85));
00101 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(199, 199, 199));
00102 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
00103 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255));
00104 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
00105 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
00106 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 0));
00107 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
00108 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(103, 141, 178));
00109 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255));
00110 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 238));
00111 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(82, 24, 139));
00112 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
00113 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
00114 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(221, 223, 228));
00115 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255));
00116 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255));
00117 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(85, 85, 85));
00118 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(199, 199, 199));
00119 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
00120 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255));
00121 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
00122 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
00123 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 0));
00124 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
00125 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(103, 141, 178));
00126 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255));
00127 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 238));
00128 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(82, 24, 139));
00129 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
00130 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(128, 128, 128));
00131 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(221, 223, 228));
00132 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255));
00133 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255));
00134 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(85, 85, 85));
00135 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(199, 199, 199));
00136 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(199, 199, 199));
00137 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255));
00138 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(128, 128, 128));
00139 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 0));
00140 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 0));
00141 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
00142 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(86, 117, 148));
00143 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255));
00144 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 238));
00145 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(82, 24, 139));
00146 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
00147 color_label->setPalette(palette);
00148 color_label->setFocusPolicy(Qt::NoFocus);
00149 color_label->setAutoFillBackground(true);
00150 color_label->setFrameShape(QFrame::WinPanel);
00151 color_label->setFrameShadow(QFrame::Raised);
00152 color_label->setLineWidth(0);
00153 color_label->setMidLineWidth(0);
00154 color_label->setTextFormat(Qt::AutoText);
00155 color_label->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00156 color_label->setMargin(0);
00157 groupBox1_2 = new QGroupBox(ContourSurfaceDialogData);
00158 groupBox1_2->setObjectName(QString::fromUtf8("groupBox1_2"));
00159 groupBox1_2->setGeometry(QRect(243, 54, 140, 52));
00160 threshold = new QLineEdit(groupBox1_2);
00161 threshold->setObjectName(QString::fromUtf8("threshold"));
00162 threshold->setGeometry(QRect(8, 20, 120, 23));
00163 QWidget::setTabOrder(grids, color_button);
00164 QWidget::setTabOrder(color_button, threshold);
00165 QWidget::setTabOrder(threshold, buttonOk);
00166 QWidget::setTabOrder(buttonOk, buttonCancel);
00167
00168 retranslateUi(ContourSurfaceDialogData);
00169
00170 QMetaObject::connectSlotsByName(ContourSurfaceDialogData);
00171 }
00172
00173 void retranslateUi(QDialog *ContourSurfaceDialogData)
00174 {
00175 ContourSurfaceDialogData->setWindowTitle(QApplication::translate("ContourSurfaceDialogData", "ContourSurface", 0, QApplication::UnicodeUTF8));
00176 buttonCancel->setText(QApplication::translate("ContourSurfaceDialogData", "&Cancel", 0, QApplication::UnicodeUTF8));
00177 buttonCancel->setShortcut(QString());
00178
00179 #ifndef QT_NO_TOOLTIP
00180 buttonOk->setToolTip(QApplication::translate("ContourSurfaceDialogData", "Close window and apply changes.", 0, QApplication::UnicodeUTF8));
00181 #endif // QT_NO_TOOLTIP
00182
00183 buttonOk->setText(QApplication::translate("ContourSurfaceDialogData", "&OK", 0, QApplication::UnicodeUTF8));
00184 buttonOk->setShortcut(QString());
00185 groupBox1->setTitle(QApplication::translate("ContourSurfaceDialogData", "Grid Data", 0, QApplication::UnicodeUTF8));
00186 groupBox5->setTitle(QApplication::translate("ContourSurfaceDialogData", "Color", 0, QApplication::UnicodeUTF8));
00187
00188 #ifndef QT_NO_TOOLTIP
00189 color_button->setToolTip(QApplication::translate("ContourSurfaceDialogData", "Edit mininum color value", 0, QApplication::UnicodeUTF8));
00190 #endif // QT_NO_TOOLTIP
00191
00192 color_button->setText(QApplication::translate("ContourSurfaceDialogData", "Edit", 0, QApplication::UnicodeUTF8));
00193 groupBox1_2->setTitle(QApplication::translate("ContourSurfaceDialogData", "Threshold", 0, QApplication::UnicodeUTF8));
00194 Q_UNUSED(ContourSurfaceDialogData);
00195 }
00196
00197 };
00198
00199 namespace Ui {
00200 class ContourSurfaceDialogData: public Ui_ContourSurfaceDialogData {};
00201 }
00202
00203 QT_END_NAMESPACE
00204
00205 #endif // CONTOURSURFACEDIALOGDATA_H