00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef DOWNLOADPDBFILEDATA_H
00011 #define DOWNLOADPDBFILEDATA_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/QGridLayout>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QPushButton>
00023
00024 class Ui_DownloadPDBFileData
00025 {
00026 public:
00027 QGridLayout *gridLayout;
00028 QLabel *textLabel1;
00029 QComboBox *pdbId;
00030 QPushButton *download;
00031 QPushButton *buttonClose;
00032 QPushButton *button_abort;
00033
00034 void setupUi(QDialog *DownloadPDBFileData)
00035 {
00036 DownloadPDBFileData->setObjectName(QString::fromUtf8("DownloadPDBFileData"));
00037 gridLayout = new QGridLayout(DownloadPDBFileData);
00038 gridLayout->setSpacing(6);
00039 gridLayout->setMargin(9);
00040 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00041 textLabel1 = new QLabel(DownloadPDBFileData);
00042 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00043 textLabel1->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00044
00045 gridLayout->addWidget(textLabel1, 0, 0, 1, 1);
00046
00047 pdbId = new QComboBox(DownloadPDBFileData);
00048 pdbId->setObjectName(QString::fromUtf8("pdbId"));
00049 pdbId->setEditable(true);
00050 pdbId->setMaxVisibleItems(100);
00051 pdbId->setInsertPolicy(QComboBox::InsertAtTop);
00052 pdbId->setMinimumContentsLength(4);
00053
00054 gridLayout->addWidget(pdbId, 0, 1, 1, 2);
00055
00056 download = new QPushButton(DownloadPDBFileData);
00057 download->setObjectName(QString::fromUtf8("download"));
00058 download->setEnabled(false);
00059 download->setMinimumSize(QSize(0, 30));
00060 download->setDefault(true);
00061
00062 gridLayout->addWidget(download, 1, 0, 1, 1);
00063
00064 buttonClose = new QPushButton(DownloadPDBFileData);
00065 buttonClose->setObjectName(QString::fromUtf8("buttonClose"));
00066 buttonClose->setMinimumSize(QSize(0, 30));
00067 buttonClose->setAutoDefault(true);
00068
00069 gridLayout->addWidget(buttonClose, 1, 2, 1, 1);
00070
00071 button_abort = new QPushButton(DownloadPDBFileData);
00072 button_abort->setObjectName(QString::fromUtf8("button_abort"));
00073 button_abort->setEnabled(false);
00074 button_abort->setMinimumSize(QSize(0, 30));
00075 button_abort->setAutoDefault(true);
00076
00077 gridLayout->addWidget(button_abort, 1, 1, 1, 1);
00078
00079 QWidget::setTabOrder(pdbId, download);
00080 QWidget::setTabOrder(download, button_abort);
00081 QWidget::setTabOrder(button_abort, buttonClose);
00082
00083 retranslateUi(DownloadPDBFileData);
00084
00085 QSize size(351, 77);
00086 size = size.expandedTo(DownloadPDBFileData->minimumSizeHint());
00087 DownloadPDBFileData->resize(size);
00088
00089
00090 QMetaObject::connectSlotsByName(DownloadPDBFileData);
00091 }
00092
00093 void retranslateUi(QDialog *DownloadPDBFileData)
00094 {
00095 DownloadPDBFileData->setWindowTitle(QApplication::translate("DownloadPDBFileData", "Download a structure file from www.rcsb.org", 0, QApplication::UnicodeUTF8));
00096 textLabel1->setText(QApplication::translate("DownloadPDBFileData", "PDB ID", 0, QApplication::UnicodeUTF8));
00097 pdbId->setToolTip(QApplication::translate("DownloadPDBFileData", "Enter PDB ID", 0, QApplication::UnicodeUTF8));
00098 download->setToolTip(QApplication::translate("DownloadPDBFileData", "Download PDB file", 0, QApplication::UnicodeUTF8));
00099 download->setText(QApplication::translate("DownloadPDBFileData", "Download", 0, QApplication::UnicodeUTF8));
00100 download->setShortcut(QString());
00101 buttonClose->setToolTip(QApplication::translate("DownloadPDBFileData", "Close window", 0, QApplication::UnicodeUTF8));
00102 buttonClose->setText(QApplication::translate("DownloadPDBFileData", "C&ancel", 0, QApplication::UnicodeUTF8));
00103 buttonClose->setShortcut(QApplication::translate("DownloadPDBFileData", "Alt+A", 0, QApplication::UnicodeUTF8));
00104 button_abort->setToolTip(QApplication::translate("DownloadPDBFileData", "Abort download", 0, QApplication::UnicodeUTF8));
00105 button_abort->setText(QApplication::translate("DownloadPDBFileData", "&Abort", 0, QApplication::UnicodeUTF8));
00106 button_abort->setShortcut(QApplication::translate("DownloadPDBFileData", "Alt+A", 0, QApplication::UnicodeUTF8));
00107 Q_UNUSED(DownloadPDBFileData);
00108 }
00109
00110 };
00111
00112 namespace Ui {
00113 class DownloadPDBFileData: public Ui_DownloadPDBFileData {};
00114 }
00115
00116 #endif // DOWNLOADPDBFILEDATA_H