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