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