00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef COMPOSITEPROPERTIESDATA_H
00011 #define COMPOSITEPROPERTIESDATA_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/QGroupBox>
00022 #include <QtGui/QHBoxLayout>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QLineEdit>
00025 #include <QtGui/QPushButton>
00026 #include <QtGui/QSpacerItem>
00027
00028 QT_BEGIN_NAMESPACE
00029
00030 class Ui_CompositePropertiesData
00031 {
00032 public:
00033 QGridLayout *gridLayout;
00034 QHBoxLayout *hboxLayout;
00035 QPushButton *ok_button;
00036 QPushButton *cancel_button;
00037 QGroupBox *atoms_box;
00038 QGridLayout *gridLayout1;
00039 QLabel *TextLabel7;
00040 QLineEdit *formal_charge_edit;
00041 QLabel *TextLabel4_2;
00042 QLineEdit *charge_edit;
00043 QLabel *TextLabel4;
00044 QLineEdit *force_edit;
00045 QLabel *TextLabel6;
00046 QLabel *TextLabel5;
00047 QLineEdit *position_edit;
00048 QLineEdit *velocity_edit;
00049 QLineEdit *type_name_edit;
00050 QLineEdit *radius_edit;
00051 QLabel *TextLabel8;
00052 QLineEdit *type_edit;
00053 QLabel *TextLabel3;
00054 QComboBox *element_box;
00055 QLabel *TextLabel2_2;
00056 QLabel *TextLabel2;
00057 QSpacerItem *spacerItem;
00058 QGroupBox *residues_box;
00059 QLabel *textLabel1_2;
00060 QLineEdit *id_edit;
00061 QSpacerItem *spacerItem1;
00062 QHBoxLayout *hboxLayout1;
00063 QLabel *textLabel1;
00064 QLineEdit *name_edit;
00065
00066 void setupUi(QDialog *CompositePropertiesData)
00067 {
00068 if (CompositePropertiesData->objectName().isEmpty())
00069 CompositePropertiesData->setObjectName(QString::fromUtf8("CompositePropertiesData"));
00070 CompositePropertiesData->resize(400, 517);
00071 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00072 sizePolicy.setHorizontalStretch(0);
00073 sizePolicy.setVerticalStretch(0);
00074 sizePolicy.setHeightForWidth(CompositePropertiesData->sizePolicy().hasHeightForWidth());
00075 CompositePropertiesData->setSizePolicy(sizePolicy);
00076 CompositePropertiesData->setMinimumSize(QSize(400, 517));
00077 CompositePropertiesData->setMaximumSize(QSize(400, 517));
00078 gridLayout = new QGridLayout(CompositePropertiesData);
00079 gridLayout->setSpacing(6);
00080 gridLayout->setMargin(9);
00081 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00082 hboxLayout = new QHBoxLayout();
00083 hboxLayout->setSpacing(6);
00084 hboxLayout->setMargin(0);
00085 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00086 ok_button = new QPushButton(CompositePropertiesData);
00087 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00088 ok_button->setMinimumSize(QSize(186, 30));
00089 ok_button->setMaximumSize(QSize(32767, 30));
00090 ok_button->setDefault(true);
00091
00092 hboxLayout->addWidget(ok_button);
00093
00094 cancel_button = new QPushButton(CompositePropertiesData);
00095 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00096 cancel_button->setMinimumSize(QSize(186, 30));
00097 cancel_button->setMaximumSize(QSize(32767, 30));
00098
00099 hboxLayout->addWidget(cancel_button);
00100
00101
00102 gridLayout->addLayout(hboxLayout, 5, 0, 1, 2);
00103
00104 atoms_box = new QGroupBox(CompositePropertiesData);
00105 atoms_box->setObjectName(QString::fromUtf8("atoms_box"));
00106 gridLayout1 = new QGridLayout(atoms_box);
00107 gridLayout1->setSpacing(6);
00108 gridLayout1->setMargin(9);
00109 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00110 TextLabel7 = new QLabel(atoms_box);
00111 TextLabel7->setObjectName(QString::fromUtf8("TextLabel7"));
00112 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(5));
00113 sizePolicy1.setHorizontalStretch(0);
00114 sizePolicy1.setVerticalStretch(0);
00115 sizePolicy1.setHeightForWidth(TextLabel7->sizePolicy().hasHeightForWidth());
00116 TextLabel7->setSizePolicy(sizePolicy1);
00117 TextLabel7->setMinimumSize(QSize(90, 0));
00118 TextLabel7->setMaximumSize(QSize(100, 32767));
00119 TextLabel7->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00120
00121 gridLayout1->addWidget(TextLabel7, 6, 0, 1, 1);
00122
00123 formal_charge_edit = new QLineEdit(atoms_box);
00124 formal_charge_edit->setObjectName(QString::fromUtf8("formal_charge_edit"));
00125
00126 gridLayout1->addWidget(formal_charge_edit, 5, 1, 1, 1);
00127
00128 TextLabel4_2 = new QLabel(atoms_box);
00129 TextLabel4_2->setObjectName(QString::fromUtf8("TextLabel4_2"));
00130 sizePolicy1.setHeightForWidth(TextLabel4_2->sizePolicy().hasHeightForWidth());
00131 TextLabel4_2->setSizePolicy(sizePolicy1);
00132 TextLabel4_2->setMinimumSize(QSize(90, 0));
00133 TextLabel4_2->setMaximumSize(QSize(100, 32767));
00134 TextLabel4_2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00135
00136 gridLayout1->addWidget(TextLabel4_2, 5, 0, 1, 1);
00137
00138 charge_edit = new QLineEdit(atoms_box);
00139 charge_edit->setObjectName(QString::fromUtf8("charge_edit"));
00140
00141 gridLayout1->addWidget(charge_edit, 4, 1, 1, 1);
00142
00143 TextLabel4 = new QLabel(atoms_box);
00144 TextLabel4->setObjectName(QString::fromUtf8("TextLabel4"));
00145 sizePolicy1.setHeightForWidth(TextLabel4->sizePolicy().hasHeightForWidth());
00146 TextLabel4->setSizePolicy(sizePolicy1);
00147 TextLabel4->setMinimumSize(QSize(90, 0));
00148 TextLabel4->setMaximumSize(QSize(100, 32767));
00149 TextLabel4->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00150
00151 gridLayout1->addWidget(TextLabel4, 4, 0, 1, 1);
00152
00153 force_edit = new QLineEdit(atoms_box);
00154 force_edit->setObjectName(QString::fromUtf8("force_edit"));
00155
00156 gridLayout1->addWidget(force_edit, 8, 1, 1, 1);
00157
00158 TextLabel6 = new QLabel(atoms_box);
00159 TextLabel6->setObjectName(QString::fromUtf8("TextLabel6"));
00160 sizePolicy1.setHeightForWidth(TextLabel6->sizePolicy().hasHeightForWidth());
00161 TextLabel6->setSizePolicy(sizePolicy1);
00162 TextLabel6->setMinimumSize(QSize(90, 0));
00163 TextLabel6->setMaximumSize(QSize(100, 32767));
00164 TextLabel6->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00165
00166 gridLayout1->addWidget(TextLabel6, 8, 0, 1, 1);
00167
00168 TextLabel5 = new QLabel(atoms_box);
00169 TextLabel5->setObjectName(QString::fromUtf8("TextLabel5"));
00170 sizePolicy1.setHeightForWidth(TextLabel5->sizePolicy().hasHeightForWidth());
00171 TextLabel5->setSizePolicy(sizePolicy1);
00172 TextLabel5->setMinimumSize(QSize(90, 0));
00173 TextLabel5->setMaximumSize(QSize(100, 32767));
00174 TextLabel5->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00175
00176 gridLayout1->addWidget(TextLabel5, 7, 0, 1, 1);
00177
00178 position_edit = new QLineEdit(atoms_box);
00179 position_edit->setObjectName(QString::fromUtf8("position_edit"));
00180
00181 gridLayout1->addWidget(position_edit, 6, 1, 1, 1);
00182
00183 velocity_edit = new QLineEdit(atoms_box);
00184 velocity_edit->setObjectName(QString::fromUtf8("velocity_edit"));
00185
00186 gridLayout1->addWidget(velocity_edit, 7, 1, 1, 1);
00187
00188 type_name_edit = new QLineEdit(atoms_box);
00189 type_name_edit->setObjectName(QString::fromUtf8("type_name_edit"));
00190
00191 gridLayout1->addWidget(type_name_edit, 0, 1, 1, 1);
00192
00193 radius_edit = new QLineEdit(atoms_box);
00194 radius_edit->setObjectName(QString::fromUtf8("radius_edit"));
00195
00196 gridLayout1->addWidget(radius_edit, 3, 1, 1, 1);
00197
00198 TextLabel8 = new QLabel(atoms_box);
00199 TextLabel8->setObjectName(QString::fromUtf8("TextLabel8"));
00200 sizePolicy1.setHeightForWidth(TextLabel8->sizePolicy().hasHeightForWidth());
00201 TextLabel8->setSizePolicy(sizePolicy1);
00202 TextLabel8->setMinimumSize(QSize(90, 0));
00203 TextLabel8->setMaximumSize(QSize(100, 32767));
00204 TextLabel8->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00205
00206 gridLayout1->addWidget(TextLabel8, 3, 0, 1, 1);
00207
00208 type_edit = new QLineEdit(atoms_box);
00209 type_edit->setObjectName(QString::fromUtf8("type_edit"));
00210
00211 gridLayout1->addWidget(type_edit, 1, 1, 1, 1);
00212
00213 TextLabel3 = new QLabel(atoms_box);
00214 TextLabel3->setObjectName(QString::fromUtf8("TextLabel3"));
00215 sizePolicy1.setHeightForWidth(TextLabel3->sizePolicy().hasHeightForWidth());
00216 TextLabel3->setSizePolicy(sizePolicy1);
00217 TextLabel3->setMinimumSize(QSize(90, 0));
00218 TextLabel3->setMaximumSize(QSize(100, 32767));
00219 TextLabel3->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00220
00221 gridLayout1->addWidget(TextLabel3, 2, 0, 1, 1);
00222
00223 element_box = new QComboBox(atoms_box);
00224 element_box->setObjectName(QString::fromUtf8("element_box"));
00225
00226 gridLayout1->addWidget(element_box, 2, 1, 1, 1);
00227
00228 TextLabel2_2 = new QLabel(atoms_box);
00229 TextLabel2_2->setObjectName(QString::fromUtf8("TextLabel2_2"));
00230 sizePolicy1.setHeightForWidth(TextLabel2_2->sizePolicy().hasHeightForWidth());
00231 TextLabel2_2->setSizePolicy(sizePolicy1);
00232 TextLabel2_2->setMinimumSize(QSize(90, 0));
00233 TextLabel2_2->setMaximumSize(QSize(100, 32767));
00234 TextLabel2_2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00235
00236 gridLayout1->addWidget(TextLabel2_2, 1, 0, 1, 1);
00237
00238 TextLabel2 = new QLabel(atoms_box);
00239 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
00240 sizePolicy1.setHeightForWidth(TextLabel2->sizePolicy().hasHeightForWidth());
00241 TextLabel2->setSizePolicy(sizePolicy1);
00242 TextLabel2->setMinimumSize(QSize(90, 0));
00243 TextLabel2->setMaximumSize(QSize(100, 32767));
00244 TextLabel2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00245
00246 gridLayout1->addWidget(TextLabel2, 0, 0, 1, 1);
00247
00248
00249 gridLayout->addWidget(atoms_box, 4, 0, 1, 2);
00250
00251 spacerItem = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
00252
00253 gridLayout->addItem(spacerItem, 3, 0, 1, 1);
00254
00255 residues_box = new QGroupBox(CompositePropertiesData);
00256 residues_box->setObjectName(QString::fromUtf8("residues_box"));
00257 residues_box->setMinimumSize(QSize(16, 50));
00258 textLabel1_2 = new QLabel(residues_box);
00259 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00260 textLabel1_2->setGeometry(QRect(10, 20, 110, 24));
00261 sizePolicy1.setHeightForWidth(textLabel1_2->sizePolicy().hasHeightForWidth());
00262 textLabel1_2->setSizePolicy(sizePolicy1);
00263 textLabel1_2->setMinimumSize(QSize(110, 0));
00264 textLabel1_2->setMaximumSize(QSize(110, 32767));
00265 textLabel1_2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00266 id_edit = new QLineEdit(residues_box);
00267 id_edit->setObjectName(QString::fromUtf8("id_edit"));
00268 id_edit->setGeometry(QRect(120, 20, 250, 24));
00269 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(5));
00270 sizePolicy2.setHorizontalStretch(0);
00271 sizePolicy2.setVerticalStretch(0);
00272 sizePolicy2.setHeightForWidth(id_edit->sizePolicy().hasHeightForWidth());
00273 id_edit->setSizePolicy(sizePolicy2);
00274 id_edit->setMinimumSize(QSize(0, 20));
00275
00276 gridLayout->addWidget(residues_box, 2, 0, 1, 2);
00277
00278 spacerItem1 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
00279
00280 gridLayout->addItem(spacerItem1, 1, 1, 1, 1);
00281
00282 hboxLayout1 = new QHBoxLayout();
00283 hboxLayout1->setSpacing(6);
00284 hboxLayout1->setMargin(0);
00285 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00286 textLabel1 = new QLabel(CompositePropertiesData);
00287 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00288 QSizePolicy sizePolicy3(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(1));
00289 sizePolicy3.setHorizontalStretch(0);
00290 sizePolicy3.setVerticalStretch(0);
00291 sizePolicy3.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
00292 textLabel1->setSizePolicy(sizePolicy3);
00293 textLabel1->setMinimumSize(QSize(100, 0));
00294 textLabel1->setMaximumSize(QSize(100, 32767));
00295 textLabel1->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
00296
00297 hboxLayout1->addWidget(textLabel1);
00298
00299 name_edit = new QLineEdit(CompositePropertiesData);
00300 name_edit->setObjectName(QString::fromUtf8("name_edit"));
00301 QSizePolicy sizePolicy4(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(1));
00302 sizePolicy4.setHorizontalStretch(0);
00303 sizePolicy4.setVerticalStretch(0);
00304 sizePolicy4.setHeightForWidth(name_edit->sizePolicy().hasHeightForWidth());
00305 name_edit->setSizePolicy(sizePolicy4);
00306
00307 hboxLayout1->addWidget(name_edit);
00308
00309
00310 gridLayout->addLayout(hboxLayout1, 0, 0, 1, 2);
00311
00312 QWidget::setTabOrder(name_edit, id_edit);
00313 QWidget::setTabOrder(id_edit, type_name_edit);
00314 QWidget::setTabOrder(type_name_edit, type_edit);
00315 QWidget::setTabOrder(type_edit, element_box);
00316 QWidget::setTabOrder(element_box, radius_edit);
00317 QWidget::setTabOrder(radius_edit, charge_edit);
00318 QWidget::setTabOrder(charge_edit, formal_charge_edit);
00319 QWidget::setTabOrder(formal_charge_edit, position_edit);
00320 QWidget::setTabOrder(position_edit, velocity_edit);
00321 QWidget::setTabOrder(velocity_edit, force_edit);
00322 QWidget::setTabOrder(force_edit, ok_button);
00323 QWidget::setTabOrder(ok_button, cancel_button);
00324
00325 retranslateUi(CompositePropertiesData);
00326
00327 QMetaObject::connectSlotsByName(CompositePropertiesData);
00328 }
00329
00330 void retranslateUi(QDialog *CompositePropertiesData)
00331 {
00332 CompositePropertiesData->setWindowTitle(QApplication::translate("CompositePropertiesData", "Properties", 0, QApplication::UnicodeUTF8));
00333 ok_button->setText(QApplication::translate("CompositePropertiesData", "OK", 0, QApplication::UnicodeUTF8));
00334 cancel_button->setText(QApplication::translate("CompositePropertiesData", "Cancel", 0, QApplication::UnicodeUTF8));
00335 atoms_box->setTitle(QApplication::translate("CompositePropertiesData", "Atoms", 0, QApplication::UnicodeUTF8));
00336 TextLabel7->setText(QApplication::translate("CompositePropertiesData", "Position (\303\205)", 0, QApplication::UnicodeUTF8));
00337 TextLabel4_2->setText(QApplication::translate("CompositePropertiesData", "Formal charge", 0, QApplication::UnicodeUTF8));
00338 TextLabel4->setText(QApplication::translate("CompositePropertiesData", "Charge (e)", 0, QApplication::UnicodeUTF8));
00339 TextLabel6->setText(QApplication::translate("CompositePropertiesData", "Force (pN)", 0, QApplication::UnicodeUTF8));
00340 TextLabel5->setText(QApplication::translate("CompositePropertiesData", "Velocity (\303\205/ps)", 0, QApplication::UnicodeUTF8));
00341 position_edit->setText(QString());
00342 TextLabel8->setText(QApplication::translate("CompositePropertiesData", "Radius (\303\205)", 0, QApplication::UnicodeUTF8));
00343 TextLabel3->setText(QApplication::translate("CompositePropertiesData", "Element", 0, QApplication::UnicodeUTF8));
00344 TextLabel2_2->setText(QApplication::translate("CompositePropertiesData", "Type", 0, QApplication::UnicodeUTF8));
00345 TextLabel2->setText(QApplication::translate("CompositePropertiesData", "Type name", 0, QApplication::UnicodeUTF8));
00346 residues_box->setTitle(QApplication::translate("CompositePropertiesData", "Residues", 0, QApplication::UnicodeUTF8));
00347 textLabel1_2->setText(QApplication::translate("CompositePropertiesData", "ID", 0, QApplication::UnicodeUTF8));
00348 textLabel1->setText(QApplication::translate("CompositePropertiesData", "Name", 0, QApplication::UnicodeUTF8));
00349 Q_UNUSED(CompositePropertiesData);
00350 }
00351
00352 };
00353
00354 namespace Ui {
00355 class CompositePropertiesData: public Ui_CompositePropertiesData {};
00356 }
00357
00358 QT_END_NAMESPACE
00359
00360 #endif // COMPOSITEPROPERTIESDATA_H