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