00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef DOCKRESULTDIALOGDATA_H
00011 #define DOCKRESULTDIALOGDATA_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/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QTableWidget>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_DockResultDialogData
00028 {
00029 public:
00030 QGridLayout *gridLayout;
00031 QSpacerItem *spacerItem;
00032 QGridLayout *gridLayout1;
00033 QPushButton *downwardButton;
00034 QPushButton *upwardButton;
00035 QPushButton *show_button;
00036 QPushButton *delete_score;
00037 QPushButton *scoring_opt;
00038 QSpacerItem *spacerItem1;
00039 QPushButton *close_button;
00040 QPushButton *redock;
00041 QPushButton *dock_opt_button;
00042 QGroupBox *reranking_group;
00043 QGridLayout *gridLayout2;
00044 QPushButton *scoring_button;
00045 QPushButton *advanced_button;
00046 QComboBox *scoring_functions;
00047 QSpacerItem *spacerItem2;
00048 QTableWidget *result_table;
00049
00050 void setupUi(QDialog *DockResultDialogData)
00051 {
00052 if (DockResultDialogData->objectName().isEmpty())
00053 DockResultDialogData->setObjectName(QString::fromUtf8("DockResultDialogData"));
00054 DockResultDialogData->resize(518, 546);
00055 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(7));
00056 sizePolicy.setHorizontalStretch(0);
00057 sizePolicy.setVerticalStretch(0);
00058 sizePolicy.setHeightForWidth(DockResultDialogData->sizePolicy().hasHeightForWidth());
00059 DockResultDialogData->setSizePolicy(sizePolicy);
00060 DockResultDialogData->setModal(false);
00061 gridLayout = new QGridLayout(DockResultDialogData);
00062 gridLayout->setSpacing(6);
00063 gridLayout->setMargin(9);
00064 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00065 spacerItem = new QSpacerItem(234, 44, QSizePolicy::Minimum, QSizePolicy::Expanding);
00066
00067 gridLayout->addItem(spacerItem, 3, 1, 1, 1);
00068
00069 gridLayout1 = new QGridLayout();
00070 gridLayout1->setSpacing(6);
00071 gridLayout1->setMargin(0);
00072 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00073 downwardButton = new QPushButton(DockResultDialogData);
00074 downwardButton->setObjectName(QString::fromUtf8("downwardButton"));
00075 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(0));
00076 sizePolicy1.setHorizontalStretch(0);
00077 sizePolicy1.setVerticalStretch(0);
00078 sizePolicy1.setHeightForWidth(downwardButton->sizePolicy().hasHeightForWidth());
00079 downwardButton->setSizePolicy(sizePolicy1);
00080 QFont font;
00081 font.setFamily(QString::fromUtf8("Sans Serif"));
00082 font.setPointSize(9);
00083 font.setBold(false);
00084 font.setItalic(false);
00085 font.setUnderline(false);
00086 font.setWeight(50);
00087 font.setStrikeOut(false);
00088 downwardButton->setFont(font);
00089
00090 gridLayout1->addWidget(downwardButton, 1, 1, 1, 1);
00091
00092 upwardButton = new QPushButton(DockResultDialogData);
00093 upwardButton->setObjectName(QString::fromUtf8("upwardButton"));
00094 sizePolicy1.setHeightForWidth(upwardButton->sizePolicy().hasHeightForWidth());
00095 upwardButton->setSizePolicy(sizePolicy1);
00096 upwardButton->setFont(font);
00097
00098 gridLayout1->addWidget(upwardButton, 1, 0, 1, 1);
00099
00100 show_button = new QPushButton(DockResultDialogData);
00101 show_button->setObjectName(QString::fromUtf8("show_button"));
00102 sizePolicy1.setHeightForWidth(show_button->sizePolicy().hasHeightForWidth());
00103 show_button->setSizePolicy(sizePolicy1);
00104
00105 gridLayout1->addWidget(show_button, 0, 0, 1, 2);
00106
00107
00108 gridLayout->addLayout(gridLayout1, 7, 1, 1, 1);
00109
00110 delete_score = new QPushButton(DockResultDialogData);
00111 delete_score->setObjectName(QString::fromUtf8("delete_score"));
00112 sizePolicy1.setHeightForWidth(delete_score->sizePolicy().hasHeightForWidth());
00113 delete_score->setSizePolicy(sizePolicy1);
00114
00115 gridLayout->addWidget(delete_score, 2, 1, 1, 1);
00116
00117 scoring_opt = new QPushButton(DockResultDialogData);
00118 scoring_opt->setObjectName(QString::fromUtf8("scoring_opt"));
00119 sizePolicy1.setHeightForWidth(scoring_opt->sizePolicy().hasHeightForWidth());
00120 scoring_opt->setSizePolicy(sizePolicy1);
00121
00122 gridLayout->addWidget(scoring_opt, 1, 1, 1, 1);
00123
00124 spacerItem1 = new QSpacerItem(234, 43, QSizePolicy::Minimum, QSizePolicy::Expanding);
00125
00126 gridLayout->addItem(spacerItem1, 6, 1, 1, 1);
00127
00128 close_button = new QPushButton(DockResultDialogData);
00129 close_button->setObjectName(QString::fromUtf8("close_button"));
00130 sizePolicy1.setHeightForWidth(close_button->sizePolicy().hasHeightForWidth());
00131 close_button->setSizePolicy(sizePolicy1);
00132
00133 gridLayout->addWidget(close_button, 9, 1, 1, 1);
00134
00135 redock = new QPushButton(DockResultDialogData);
00136 redock->setObjectName(QString::fromUtf8("redock"));
00137 sizePolicy1.setHeightForWidth(redock->sizePolicy().hasHeightForWidth());
00138 redock->setSizePolicy(sizePolicy1);
00139
00140 gridLayout->addWidget(redock, 5, 1, 1, 1);
00141
00142 dock_opt_button = new QPushButton(DockResultDialogData);
00143 dock_opt_button->setObjectName(QString::fromUtf8("dock_opt_button"));
00144 sizePolicy1.setHeightForWidth(dock_opt_button->sizePolicy().hasHeightForWidth());
00145 dock_opt_button->setSizePolicy(sizePolicy1);
00146
00147 gridLayout->addWidget(dock_opt_button, 4, 1, 1, 1);
00148
00149 reranking_group = new QGroupBox(DockResultDialogData);
00150 reranking_group->setObjectName(QString::fromUtf8("reranking_group"));
00151 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(1));
00152 sizePolicy2.setHorizontalStretch(0);
00153 sizePolicy2.setVerticalStretch(0);
00154 sizePolicy2.setHeightForWidth(reranking_group->sizePolicy().hasHeightForWidth());
00155 reranking_group->setSizePolicy(sizePolicy2);
00156 reranking_group->setMinimumSize(QSize(234, 16));
00157 gridLayout2 = new QGridLayout(reranking_group);
00158 gridLayout2->setSpacing(6);
00159 gridLayout2->setMargin(9);
00160 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00161 scoring_button = new QPushButton(reranking_group);
00162 scoring_button->setObjectName(QString::fromUtf8("scoring_button"));
00163 QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
00164 sizePolicy3.setHorizontalStretch(0);
00165 sizePolicy3.setVerticalStretch(0);
00166 sizePolicy3.setHeightForWidth(scoring_button->sizePolicy().hasHeightForWidth());
00167 scoring_button->setSizePolicy(sizePolicy3);
00168
00169 gridLayout2->addWidget(scoring_button, 2, 0, 1, 1);
00170
00171 advanced_button = new QPushButton(reranking_group);
00172 advanced_button->setObjectName(QString::fromUtf8("advanced_button"));
00173 advanced_button->setEnabled(false);
00174 sizePolicy3.setHeightForWidth(advanced_button->sizePolicy().hasHeightForWidth());
00175 advanced_button->setSizePolicy(sizePolicy3);
00176
00177 gridLayout2->addWidget(advanced_button, 1, 0, 1, 1);
00178
00179 scoring_functions = new QComboBox(reranking_group);
00180 scoring_functions->setObjectName(QString::fromUtf8("scoring_functions"));
00181 sizePolicy3.setHeightForWidth(scoring_functions->sizePolicy().hasHeightForWidth());
00182 scoring_functions->setSizePolicy(sizePolicy3);
00183 scoring_functions->setMinimumSize(QSize(140, 0));
00184
00185 gridLayout2->addWidget(scoring_functions, 0, 0, 1, 1);
00186
00187
00188 gridLayout->addWidget(reranking_group, 0, 1, 1, 1);
00189
00190 spacerItem2 = new QSpacerItem(234, 43, QSizePolicy::Minimum, QSizePolicy::Expanding);
00191
00192 gridLayout->addItem(spacerItem2, 8, 1, 1, 1);
00193
00194 result_table = new QTableWidget(DockResultDialogData);
00195 if (result_table->columnCount() < 1)
00196 result_table->setColumnCount(1);
00197 QTableWidgetItem *__colItem = new QTableWidgetItem();
00198 result_table->setHorizontalHeaderItem(0, __colItem);
00199 result_table->setObjectName(QString::fromUtf8("result_table"));
00200 result_table->setEnabled(true);
00201 QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(5));
00202 sizePolicy4.setHorizontalStretch(0);
00203 sizePolicy4.setVerticalStretch(0);
00204 sizePolicy4.setHeightForWidth(result_table->sizePolicy().hasHeightForWidth());
00205 result_table->setSizePolicy(sizePolicy4);
00206 result_table->setMinimumSize(QSize(216, 0));
00207 result_table->setMouseTracking(false);
00208 result_table->setFocusPolicy(Qt::WheelFocus);
00209 result_table->setAcceptDrops(false);
00210
00211 gridLayout->addWidget(result_table, 0, 0, 10, 1);
00212
00213 QWidget::setTabOrder(result_table, scoring_functions);
00214 QWidget::setTabOrder(scoring_functions, advanced_button);
00215 QWidget::setTabOrder(advanced_button, scoring_button);
00216 QWidget::setTabOrder(scoring_button, scoring_opt);
00217 QWidget::setTabOrder(scoring_opt, delete_score);
00218 QWidget::setTabOrder(delete_score, dock_opt_button);
00219 QWidget::setTabOrder(dock_opt_button, redock);
00220 QWidget::setTabOrder(redock, show_button);
00221 QWidget::setTabOrder(show_button, upwardButton);
00222 QWidget::setTabOrder(upwardButton, downwardButton);
00223 QWidget::setTabOrder(downwardButton, close_button);
00224
00225 retranslateUi(DockResultDialogData);
00226
00227 QMetaObject::connectSlotsByName(DockResultDialogData);
00228 }
00229
00230 void retranslateUi(QDialog *DockResultDialogData)
00231 {
00232 DockResultDialogData->setWindowTitle(QApplication::translate("DockResultDialogData", "Docking Results", 0, QApplication::UnicodeUTF8));
00233 downwardButton->setText(QApplication::translate("DockResultDialogData", "Down", 0, QApplication::UnicodeUTF8));
00234 upwardButton->setText(QApplication::translate("DockResultDialogData", "Up", 0, QApplication::UnicodeUTF8));
00235 show_button->setText(QApplication::translate("DockResultDialogData", "Show snapshot", 0, QApplication::UnicodeUTF8));
00236 delete_score->setText(QApplication::translate("DockResultDialogData", "Delete Scoring", 0, QApplication::UnicodeUTF8));
00237 scoring_opt->setText(QApplication::translate("DockResultDialogData", "Scoring Options", 0, QApplication::UnicodeUTF8));
00238 close_button->setText(QApplication::translate("DockResultDialogData", "Close", 0, QApplication::UnicodeUTF8));
00239 redock->setText(QApplication::translate("DockResultDialogData", "Redock", 0, QApplication::UnicodeUTF8));
00240 dock_opt_button->setText(QApplication::translate("DockResultDialogData", "Docking Options", 0, QApplication::UnicodeUTF8));
00241 reranking_group->setTitle(QApplication::translate("DockResultDialogData", "Reranking", 0, QApplication::UnicodeUTF8));
00242 scoring_button->setText(QApplication::translate("DockResultDialogData", "New Scoring", 0, QApplication::UnicodeUTF8));
00243 advanced_button->setText(QApplication::translate("DockResultDialogData", "Advanced...", 0, QApplication::UnicodeUTF8));
00244 result_table->horizontalHeaderItem(0)->setText(QApplication::translate("DockResultDialogData", "snapshot", 0, QApplication::UnicodeUTF8));
00245 Q_UNUSED(DockResultDialogData);
00246 }
00247
00248 };
00249
00250 namespace Ui {
00251 class DockResultDialogData: public Ui_DockResultDialogData {};
00252 }
00253
00254 QT_END_NAMESPACE
00255
00256 #endif // DOCKRESULTDIALOGDATA_H