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