00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef NETWORKPREFERENCESDATA_H
00011 #define NETWORKPREFERENCESDATA_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/QCheckBox>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QGroupBox>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QVBoxLayout>
00024 #include <QtGui/QWidget>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_NetworkPreferencesData
00029 {
00030 public:
00031 QWidget *layoutWidget;
00032 QVBoxLayout *vboxLayout;
00033 QGroupBox *groupBox31;
00034 QGridLayout *gridLayout;
00035 QLineEdit *port_edit;
00036 QLineEdit *host_edit;
00037 QLabel *textLabel1_2;
00038 QLabel *textLabel1;
00039 QCheckBox *enable_proxy;
00040 QGroupBox *groupBox31_2;
00041 QGridLayout *gridLayout1;
00042 QLineEdit *pdb_suffix;
00043 QLabel *textLabel1_4;
00044 QLabel *textLabel1_3;
00045 QLineEdit *pdb_prefix;
00046
00047 void setupUi(QWidget *NetworkPreferencesData)
00048 {
00049 if (NetworkPreferencesData->objectName().isEmpty())
00050 NetworkPreferencesData->setObjectName(QString::fromUtf8("NetworkPreferencesData"));
00051 NetworkPreferencesData->resize(651, 406);
00052 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
00053 sizePolicy.setHorizontalStretch(0);
00054 sizePolicy.setVerticalStretch(0);
00055 sizePolicy.setHeightForWidth(NetworkPreferencesData->sizePolicy().hasHeightForWidth());
00056 NetworkPreferencesData->setSizePolicy(sizePolicy);
00057 NetworkPreferencesData->setMinimumSize(QSize(0, 0));
00058 NetworkPreferencesData->setMaximumSize(QSize(32000, 32000));
00059 layoutWidget = new QWidget(NetworkPreferencesData);
00060 layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
00061 layoutWidget->setGeometry(QRect(10, 11, 501, 240));
00062 vboxLayout = new QVBoxLayout(layoutWidget);
00063 vboxLayout->setSpacing(6);
00064 vboxLayout->setMargin(0);
00065 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00066 vboxLayout->setContentsMargins(0, 0, 0, 0);
00067 groupBox31 = new QGroupBox(layoutWidget);
00068 groupBox31->setObjectName(QString::fromUtf8("groupBox31"));
00069 gridLayout = new QGridLayout(groupBox31);
00070 gridLayout->setSpacing(6);
00071 gridLayout->setMargin(9);
00072 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00073 port_edit = new QLineEdit(groupBox31);
00074 port_edit->setObjectName(QString::fromUtf8("port_edit"));
00075 port_edit->setEnabled(false);
00076 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(1));
00077 sizePolicy1.setHorizontalStretch(0);
00078 sizePolicy1.setVerticalStretch(0);
00079 sizePolicy1.setHeightForWidth(port_edit->sizePolicy().hasHeightForWidth());
00080 port_edit->setSizePolicy(sizePolicy1);
00081
00082 gridLayout->addWidget(port_edit, 2, 1, 1, 1);
00083
00084 host_edit = new QLineEdit(groupBox31);
00085 host_edit->setObjectName(QString::fromUtf8("host_edit"));
00086 host_edit->setEnabled(false);
00087 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(1));
00088 sizePolicy2.setHorizontalStretch(0);
00089 sizePolicy2.setVerticalStretch(0);
00090 sizePolicy2.setHeightForWidth(host_edit->sizePolicy().hasHeightForWidth());
00091 host_edit->setSizePolicy(sizePolicy2);
00092 host_edit->setMinimumSize(QSize(25, 25));
00093
00094 gridLayout->addWidget(host_edit, 1, 1, 1, 1);
00095
00096 textLabel1_2 = new QLabel(groupBox31);
00097 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00098
00099 gridLayout->addWidget(textLabel1_2, 1, 0, 1, 1);
00100
00101 textLabel1 = new QLabel(groupBox31);
00102 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00103 textLabel1->setMinimumSize(QSize(150, 0));
00104 textLabel1->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00105
00106 gridLayout->addWidget(textLabel1, 2, 0, 1, 1);
00107
00108 enable_proxy = new QCheckBox(groupBox31);
00109 enable_proxy->setObjectName(QString::fromUtf8("enable_proxy"));
00110 QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00111 sizePolicy3.setHorizontalStretch(0);
00112 sizePolicy3.setVerticalStretch(0);
00113 sizePolicy3.setHeightForWidth(enable_proxy->sizePolicy().hasHeightForWidth());
00114 enable_proxy->setSizePolicy(sizePolicy3);
00115
00116 gridLayout->addWidget(enable_proxy, 0, 0, 1, 2);
00117
00118
00119 vboxLayout->addWidget(groupBox31);
00120
00121 groupBox31_2 = new QGroupBox(layoutWidget);
00122 groupBox31_2->setObjectName(QString::fromUtf8("groupBox31_2"));
00123 gridLayout1 = new QGridLayout(groupBox31_2);
00124 gridLayout1->setSpacing(6);
00125 gridLayout1->setMargin(9);
00126 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00127 pdb_suffix = new QLineEdit(groupBox31_2);
00128 pdb_suffix->setObjectName(QString::fromUtf8("pdb_suffix"));
00129 pdb_suffix->setMinimumSize(QSize(25, 25));
00130
00131 gridLayout1->addWidget(pdb_suffix, 1, 1, 1, 1);
00132
00133 textLabel1_4 = new QLabel(groupBox31_2);
00134 textLabel1_4->setObjectName(QString::fromUtf8("textLabel1_4"));
00135 textLabel1_4->setMinimumSize(QSize(150, 0));
00136
00137 gridLayout1->addWidget(textLabel1_4, 1, 0, 1, 1);
00138
00139 textLabel1_3 = new QLabel(groupBox31_2);
00140 textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
00141 textLabel1_3->setMinimumSize(QSize(150, 0));
00142
00143 gridLayout1->addWidget(textLabel1_3, 0, 0, 1, 1);
00144
00145 pdb_prefix = new QLineEdit(groupBox31_2);
00146 pdb_prefix->setObjectName(QString::fromUtf8("pdb_prefix"));
00147 pdb_prefix->setMinimumSize(QSize(25, 25));
00148
00149 gridLayout1->addWidget(pdb_prefix, 0, 1, 1, 1);
00150
00151
00152 vboxLayout->addWidget(groupBox31_2);
00153
00154 QWidget::setTabOrder(enable_proxy, host_edit);
00155 QWidget::setTabOrder(host_edit, port_edit);
00156 QWidget::setTabOrder(port_edit, pdb_prefix);
00157 QWidget::setTabOrder(pdb_prefix, pdb_suffix);
00158
00159 retranslateUi(NetworkPreferencesData);
00160
00161 QMetaObject::connectSlotsByName(NetworkPreferencesData);
00162 }
00163
00164 void retranslateUi(QWidget *NetworkPreferencesData)
00165 {
00166 NetworkPreferencesData->setWindowTitle(QApplication::translate("NetworkPreferencesData", "NetworkPreferences", 0, QApplication::UnicodeUTF8));
00167 groupBox31->setTitle(QApplication::translate("NetworkPreferencesData", "HTTP Transfers", 0, QApplication::UnicodeUTF8));
00168 textLabel1_2->setText(QApplication::translate("NetworkPreferencesData", "host", 0, QApplication::UnicodeUTF8));
00169 textLabel1->setText(QApplication::translate("NetworkPreferencesData", "port", 0, QApplication::UnicodeUTF8));
00170
00171 #ifndef QT_NO_TOOLTIP
00172 enable_proxy->setToolTip(QApplication::translate("NetworkPreferencesData", "Writes the information from the Logs window into a file", 0, QApplication::UnicodeUTF8));
00173 #endif // QT_NO_TOOLTIP
00174
00175 enable_proxy->setText(QApplication::translate("NetworkPreferencesData", "Use proxy", 0, QApplication::UnicodeUTF8));
00176 groupBox31_2->setTitle(QApplication::translate("NetworkPreferencesData", "Downloads from www.PDB.org", 0, QApplication::UnicodeUTF8));
00177 pdb_suffix->setText(QApplication::translate("NetworkPreferencesData", ".pdb", 0, QApplication::UnicodeUTF8));
00178 textLabel1_4->setText(QApplication::translate("NetworkPreferencesData", "URL suffix", 0, QApplication::UnicodeUTF8));
00179 textLabel1_3->setText(QApplication::translate("NetworkPreferencesData", "URL prefix", 0, QApplication::UnicodeUTF8));
00180 pdb_prefix->setText(QApplication::translate("NetworkPreferencesData", "http://www.rcsb.org/pdb/files/", 0, QApplication::UnicodeUTF8));
00181 Q_UNUSED(NetworkPreferencesData);
00182 }
00183
00184 };
00185
00186 namespace Ui {
00187 class NetworkPreferencesData: public Ui_NetworkPreferencesData {};
00188 }
00189
00190 QT_END_NAMESPACE
00191
00192 #endif // NETWORKPREFERENCESDATA_H