00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GEOMETRICFITDIALOGDATA_H
00011 #define GEOMETRICFITDIALOGDATA_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QGridLayout>
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_GeometricFitDialogData
00028 {
00029 public:
00030 QGridLayout *gridLayout;
00031 QGroupBox *buttonGroup15;
00032 QGridLayout *gridLayout1;
00033 QLabel *near_radius_label;
00034 QLabel *inside_value_1_label_2;
00035 QLineEdit *surface_thickness;
00036 QLabel *sur_thick_label;
00037 QLabel *deg_interval_label;
00038 QLabel *peak_num_label;
00039 QComboBox *surface_type;
00040 QLabel *surface_type_label;
00041 QLabel *inside_value_1_label;
00042 QLineEdit *penalty_static;
00043 QLineEdit *penalty_mobile;
00044 QLineEdit *grid_spacing;
00045 QLineEdit *near_radius;
00046 QLineEdit *deg_interval;
00047 QLineEdit *peak_num;
00048 QLabel *grid_spacing_label;
00049 QPushButton *reset_button;
00050 QPushButton *ok_button;
00051 QPushButton *cancel_button;
00052
00053 void setupUi(QDialog *GeometricFitDialogData)
00054 {
00055 if (GeometricFitDialogData->objectName().isEmpty())
00056 GeometricFitDialogData->setObjectName(QString::fromUtf8("GeometricFitDialogData"));
00057 GeometricFitDialogData->resize(438, 313);
00058 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00059 sizePolicy.setHorizontalStretch(0);
00060 sizePolicy.setVerticalStretch(0);
00061 sizePolicy.setHeightForWidth(GeometricFitDialogData->sizePolicy().hasHeightForWidth());
00062 GeometricFitDialogData->setSizePolicy(sizePolicy);
00063 GeometricFitDialogData->setMaximumSize(QSize(450, 350));
00064 gridLayout = new QGridLayout(GeometricFitDialogData);
00065 gridLayout->setSpacing(6);
00066 gridLayout->setMargin(9);
00067 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00068 buttonGroup15 = new QGroupBox(GeometricFitDialogData);
00069 buttonGroup15->setObjectName(QString::fromUtf8("buttonGroup15"));
00070 gridLayout1 = new QGridLayout(buttonGroup15);
00071 gridLayout1->setSpacing(6);
00072 gridLayout1->setMargin(11);
00073 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00074 near_radius_label = new QLabel(buttonGroup15);
00075 near_radius_label->setObjectName(QString::fromUtf8("near_radius_label"));
00076 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(5));
00077 sizePolicy1.setHorizontalStretch(0);
00078 sizePolicy1.setVerticalStretch(0);
00079 sizePolicy1.setHeightForWidth(near_radius_label->sizePolicy().hasHeightForWidth());
00080 near_radius_label->setSizePolicy(sizePolicy1);
00081
00082 gridLayout1->addWidget(near_radius_label, 4, 0, 1, 1);
00083
00084 inside_value_1_label_2 = new QLabel(buttonGroup15);
00085 inside_value_1_label_2->setObjectName(QString::fromUtf8("inside_value_1_label_2"));
00086 sizePolicy1.setHeightForWidth(inside_value_1_label_2->sizePolicy().hasHeightForWidth());
00087 inside_value_1_label_2->setSizePolicy(sizePolicy1);
00088
00089 gridLayout1->addWidget(inside_value_1_label_2, 3, 0, 1, 1);
00090
00091 surface_thickness = new QLineEdit(buttonGroup15);
00092 surface_thickness->setObjectName(QString::fromUtf8("surface_thickness"));
00093 surface_thickness->setMinimumSize(QSize(135, 23));
00094 surface_thickness->setMaximumSize(QSize(130, 23));
00095 surface_thickness->setAlignment(Qt::AlignRight);
00096
00097 gridLayout1->addWidget(surface_thickness, 0, 1, 1, 1);
00098
00099 sur_thick_label = new QLabel(buttonGroup15);
00100 sur_thick_label->setObjectName(QString::fromUtf8("sur_thick_label"));
00101 sizePolicy1.setHeightForWidth(sur_thick_label->sizePolicy().hasHeightForWidth());
00102 sur_thick_label->setSizePolicy(sizePolicy1);
00103
00104 gridLayout1->addWidget(sur_thick_label, 0, 0, 1, 1);
00105
00106 deg_interval_label = new QLabel(buttonGroup15);
00107 deg_interval_label->setObjectName(QString::fromUtf8("deg_interval_label"));
00108 sizePolicy1.setHeightForWidth(deg_interval_label->sizePolicy().hasHeightForWidth());
00109 deg_interval_label->setSizePolicy(sizePolicy1);
00110
00111 gridLayout1->addWidget(deg_interval_label, 5, 0, 1, 1);
00112
00113 peak_num_label = new QLabel(buttonGroup15);
00114 peak_num_label->setObjectName(QString::fromUtf8("peak_num_label"));
00115 sizePolicy1.setHeightForWidth(peak_num_label->sizePolicy().hasHeightForWidth());
00116 peak_num_label->setSizePolicy(sizePolicy1);
00117
00118 gridLayout1->addWidget(peak_num_label, 6, 0, 1, 1);
00119
00120 surface_type = new QComboBox(buttonGroup15);
00121 surface_type->setObjectName(QString::fromUtf8("surface_type"));
00122 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00123 sizePolicy2.setHorizontalStretch(0);
00124 sizePolicy2.setVerticalStretch(0);
00125 sizePolicy2.setHeightForWidth(surface_type->sizePolicy().hasHeightForWidth());
00126 surface_type->setSizePolicy(sizePolicy2);
00127 surface_type->setMinimumSize(QSize(135, 23));
00128 surface_type->setMaximumSize(QSize(130, 23));
00129 surface_type->setAcceptDrops(false);
00130 surface_type->setInsertPolicy(QComboBox::InsertAtTop);
00131
00132 gridLayout1->addWidget(surface_type, 7, 1, 1, 1);
00133
00134 surface_type_label = new QLabel(buttonGroup15);
00135 surface_type_label->setObjectName(QString::fromUtf8("surface_type_label"));
00136 sizePolicy1.setHeightForWidth(surface_type_label->sizePolicy().hasHeightForWidth());
00137 surface_type_label->setSizePolicy(sizePolicy1);
00138 surface_type_label->setMaximumSize(QSize(200, 32767));
00139
00140 gridLayout1->addWidget(surface_type_label, 7, 0, 1, 1);
00141
00142 inside_value_1_label = new QLabel(buttonGroup15);
00143 inside_value_1_label->setObjectName(QString::fromUtf8("inside_value_1_label"));
00144 sizePolicy1.setHeightForWidth(inside_value_1_label->sizePolicy().hasHeightForWidth());
00145 inside_value_1_label->setSizePolicy(sizePolicy1);
00146
00147 gridLayout1->addWidget(inside_value_1_label, 2, 0, 1, 1);
00148
00149 penalty_static = new QLineEdit(buttonGroup15);
00150 penalty_static->setObjectName(QString::fromUtf8("penalty_static"));
00151 penalty_static->setMinimumSize(QSize(135, 23));
00152 penalty_static->setMaximumSize(QSize(130, 23));
00153 penalty_static->setAlignment(Qt::AlignRight);
00154
00155 gridLayout1->addWidget(penalty_static, 2, 1, 1, 1);
00156
00157 penalty_mobile = new QLineEdit(buttonGroup15);
00158 penalty_mobile->setObjectName(QString::fromUtf8("penalty_mobile"));
00159 penalty_mobile->setMinimumSize(QSize(135, 23));
00160 penalty_mobile->setMaximumSize(QSize(80, 23));
00161 penalty_mobile->setAlignment(Qt::AlignRight);
00162
00163 gridLayout1->addWidget(penalty_mobile, 3, 1, 1, 1);
00164
00165 grid_spacing = new QLineEdit(buttonGroup15);
00166 grid_spacing->setObjectName(QString::fromUtf8("grid_spacing"));
00167 grid_spacing->setMinimumSize(QSize(135, 23));
00168 grid_spacing->setMaximumSize(QSize(130, 23));
00169 grid_spacing->setAlignment(Qt::AlignRight);
00170
00171 gridLayout1->addWidget(grid_spacing, 1, 1, 1, 1);
00172
00173 near_radius = new QLineEdit(buttonGroup15);
00174 near_radius->setObjectName(QString::fromUtf8("near_radius"));
00175 near_radius->setMinimumSize(QSize(135, 23));
00176 near_radius->setMaximumSize(QSize(80, 23));
00177 near_radius->setAlignment(Qt::AlignRight);
00178
00179 gridLayout1->addWidget(near_radius, 4, 1, 1, 1);
00180
00181 deg_interval = new QLineEdit(buttonGroup15);
00182 deg_interval->setObjectName(QString::fromUtf8("deg_interval"));
00183 deg_interval->setMinimumSize(QSize(135, 23));
00184 deg_interval->setMaximumSize(QSize(80, 23));
00185 deg_interval->setAlignment(Qt::AlignRight);
00186
00187 gridLayout1->addWidget(deg_interval, 5, 1, 1, 1);
00188
00189 peak_num = new QLineEdit(buttonGroup15);
00190 peak_num->setObjectName(QString::fromUtf8("peak_num"));
00191 peak_num->setMinimumSize(QSize(135, 23));
00192 peak_num->setMaximumSize(QSize(80, 23));
00193 peak_num->setAlignment(Qt::AlignRight);
00194
00195 gridLayout1->addWidget(peak_num, 6, 1, 1, 1);
00196
00197 grid_spacing_label = new QLabel(buttonGroup15);
00198 grid_spacing_label->setObjectName(QString::fromUtf8("grid_spacing_label"));
00199 sizePolicy1.setHeightForWidth(grid_spacing_label->sizePolicy().hasHeightForWidth());
00200 grid_spacing_label->setSizePolicy(sizePolicy1);
00201
00202 gridLayout1->addWidget(grid_spacing_label, 1, 0, 1, 1);
00203
00204
00205 gridLayout->addWidget(buttonGroup15, 0, 0, 1, 3);
00206
00207 reset_button = new QPushButton(GeometricFitDialogData);
00208 reset_button->setObjectName(QString::fromUtf8("reset_button"));
00209 sizePolicy2.setHeightForWidth(reset_button->sizePolicy().hasHeightForWidth());
00210 reset_button->setSizePolicy(sizePolicy2);
00211 reset_button->setMinimumSize(QSize(90, 0));
00212
00213 gridLayout->addWidget(reset_button, 1, 2, 1, 1);
00214
00215 ok_button = new QPushButton(GeometricFitDialogData);
00216 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00217 sizePolicy2.setHeightForWidth(ok_button->sizePolicy().hasHeightForWidth());
00218 ok_button->setSizePolicy(sizePolicy2);
00219 ok_button->setMinimumSize(QSize(90, 0));
00220 ok_button->setDefault(true);
00221
00222 gridLayout->addWidget(ok_button, 1, 0, 1, 1);
00223
00224 cancel_button = new QPushButton(GeometricFitDialogData);
00225 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00226 sizePolicy2.setHeightForWidth(cancel_button->sizePolicy().hasHeightForWidth());
00227 cancel_button->setSizePolicy(sizePolicy2);
00228 cancel_button->setMinimumSize(QSize(90, 0));
00229
00230 gridLayout->addWidget(cancel_button, 1, 1, 1, 1);
00231
00232 QWidget::setTabOrder(surface_thickness, grid_spacing);
00233 QWidget::setTabOrder(grid_spacing, penalty_static);
00234 QWidget::setTabOrder(penalty_static, penalty_mobile);
00235 QWidget::setTabOrder(penalty_mobile, near_radius);
00236 QWidget::setTabOrder(near_radius, deg_interval);
00237 QWidget::setTabOrder(deg_interval, peak_num);
00238 QWidget::setTabOrder(peak_num, surface_type);
00239 QWidget::setTabOrder(surface_type, ok_button);
00240 QWidget::setTabOrder(ok_button, cancel_button);
00241 QWidget::setTabOrder(cancel_button, reset_button);
00242
00243 retranslateUi(GeometricFitDialogData);
00244 QObject::connect(cancel_button, SIGNAL(clicked()), GeometricFitDialogData, SLOT(reject()));
00245 QObject::connect(ok_button, SIGNAL(clicked()), GeometricFitDialogData, SLOT(accept()));
00246
00247 surface_type->setCurrentIndex(0);
00248
00249
00250 QMetaObject::connectSlotsByName(GeometricFitDialogData);
00251 }
00252
00253 void retranslateUi(QDialog *GeometricFitDialogData)
00254 {
00255 GeometricFitDialogData->setWindowTitle(QApplication::translate("GeometricFitDialogData", "Geometric Fit Options", 0, QApplication::UnicodeUTF8));
00256 near_radius_label->setText(QApplication::translate("GeometricFitDialogData", "near radius", 0, QApplication::UnicodeUTF8));
00257 inside_value_1_label_2->setText(QApplication::translate("GeometricFitDialogData", "penalty value for mobile partner", 0, QApplication::UnicodeUTF8));
00258 surface_thickness->setText(QApplication::translate("GeometricFitDialogData", "1.0", 0, QApplication::UnicodeUTF8));
00259 sur_thick_label->setText(QApplication::translate("GeometricFitDialogData", "surface thickness", 0, QApplication::UnicodeUTF8));
00260 deg_interval_label->setText(QApplication::translate("GeometricFitDialogData", "degree interval for rotation", 0, QApplication::UnicodeUTF8));
00261 peak_num_label->setText(QApplication::translate("GeometricFitDialogData", "number of peaks for each rotation", 0, QApplication::UnicodeUTF8));
00262 surface_type->insertItems(0, QStringList()
00263 << QApplication::translate("GeometricFitDialogData", "Connolly", 0, QApplication::UnicodeUTF8)
00264 << QApplication::translate("GeometricFitDialogData", "van der Waals", 0, QApplication::UnicodeUTF8)
00265 << QApplication::translate("GeometricFitDialogData", "FTDock", 0, QApplication::UnicodeUTF8)
00266 );
00267 surface_type_label->setText(QApplication::translate("GeometricFitDialogData", "surface type", 0, QApplication::UnicodeUTF8));
00268 inside_value_1_label->setText(QApplication::translate("GeometricFitDialogData", "penalty value for static partner", 0, QApplication::UnicodeUTF8));
00269 penalty_static->setText(QApplication::translate("GeometricFitDialogData", "-15", 0, QApplication::UnicodeUTF8));
00270 penalty_mobile->setText(QApplication::translate("GeometricFitDialogData", "1", 0, QApplication::UnicodeUTF8));
00271 grid_spacing->setText(QApplication::translate("GeometricFitDialogData", "1.0", 0, QApplication::UnicodeUTF8));
00272 near_radius->setText(QApplication::translate("GeometricFitDialogData", "1.8", 0, QApplication::UnicodeUTF8));
00273 deg_interval->setText(QApplication::translate("GeometricFitDialogData", "20", 0, QApplication::UnicodeUTF8));
00274 peak_num->setText(QApplication::translate("GeometricFitDialogData", "3", 0, QApplication::UnicodeUTF8));
00275 grid_spacing_label->setText(QApplication::translate("GeometricFitDialogData", "grid spacing", 0, QApplication::UnicodeUTF8));
00276 reset_button->setText(QApplication::translate("GeometricFitDialogData", "Reset", 0, QApplication::UnicodeUTF8));
00277 ok_button->setText(QApplication::translate("GeometricFitDialogData", "OK", 0, QApplication::UnicodeUTF8));
00278 cancel_button->setText(QApplication::translate("GeometricFitDialogData", "Cancel", 0, QApplication::UnicodeUTF8));
00279 Q_UNUSED(GeometricFitDialogData);
00280 }
00281
00282 };
00283
00284 namespace Ui {
00285 class GeometricFitDialogData: public Ui_GeometricFitDialogData {};
00286 }
00287
00288 QT_END_NAMESPACE
00289
00290 #endif // GEOMETRICFITDIALOGDATA_H