00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef BONDPROPERTIESDATA_H
00011 #define BONDPROPERTIESDATA_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/QHBoxLayout>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QLineEdit>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026
00027 QT_BEGIN_NAMESPACE
00028
00029 class Ui_BondPropertiesData
00030 {
00031 public:
00032 QGridLayout *gridLayout;
00033 QSpacerItem *spacerItem;
00034 QHBoxLayout *hboxLayout;
00035 QPushButton *ok_button;
00036 QPushButton *cancel_button;
00037 QLabel *TextLabel1;
00038 QLineEdit *name_edit;
00039 QLineEdit *partner_edit;
00040 QLineEdit *order_edit;
00041 QLineEdit *length_edit;
00042 QLabel *TextLabel2;
00043 QLabel *TextLabel2_2;
00044 QLabel *TextLabel8;
00045 QLabel *TextLabel4;
00046 QLabel *TextLabel7;
00047 QLabel *TextLabel5;
00048 QLineEdit *atom_edit;
00049 QLineEdit *type_edit;
00050 QComboBox *bond_box;
00051 QPushButton *focus_atom;
00052 QPushButton *focus_partner;
00053
00054 void setupUi(QDialog *BondPropertiesData)
00055 {
00056 if (BondPropertiesData->objectName().isEmpty())
00057 BondPropertiesData->setObjectName(QString::fromUtf8("BondPropertiesData"));
00058 BondPropertiesData->resize(426, 290);
00059 gridLayout = new QGridLayout(BondPropertiesData);
00060 gridLayout->setSpacing(6);
00061 gridLayout->setMargin(4);
00062 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00063 spacerItem = new QSpacerItem(20, 11, QSizePolicy::Minimum, QSizePolicy::Expanding);
00064
00065 gridLayout->addItem(spacerItem, 7, 1, 1, 1);
00066
00067 hboxLayout = new QHBoxLayout();
00068 hboxLayout->setSpacing(6);
00069 hboxLayout->setMargin(0);
00070 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00071 ok_button = new QPushButton(BondPropertiesData);
00072 ok_button->setObjectName(QString::fromUtf8("ok_button"));
00073 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(0));
00074 sizePolicy.setHorizontalStretch(0);
00075 sizePolicy.setVerticalStretch(0);
00076 sizePolicy.setHeightForWidth(ok_button->sizePolicy().hasHeightForWidth());
00077 ok_button->setSizePolicy(sizePolicy);
00078 ok_button->setMinimumSize(QSize(120, 26));
00079 ok_button->setDefault(true);
00080
00081 hboxLayout->addWidget(ok_button);
00082
00083 cancel_button = new QPushButton(BondPropertiesData);
00084 cancel_button->setObjectName(QString::fromUtf8("cancel_button"));
00085 sizePolicy.setHeightForWidth(cancel_button->sizePolicy().hasHeightForWidth());
00086 cancel_button->setSizePolicy(sizePolicy);
00087 cancel_button->setMinimumSize(QSize(120, 26));
00088 cancel_button->setDefault(true);
00089
00090 hboxLayout->addWidget(cancel_button);
00091
00092
00093 gridLayout->addLayout(hboxLayout, 8, 0, 1, 3);
00094
00095 TextLabel1 = new QLabel(BondPropertiesData);
00096 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
00097
00098 gridLayout->addWidget(TextLabel1, 0, 0, 1, 1);
00099
00100 name_edit = new QLineEdit(BondPropertiesData);
00101 name_edit->setObjectName(QString::fromUtf8("name_edit"));
00102 name_edit->setEnabled(false);
00103 name_edit->setReadOnly(true);
00104
00105 gridLayout->addWidget(name_edit, 5, 1, 1, 1);
00106
00107 partner_edit = new QLineEdit(BondPropertiesData);
00108 partner_edit->setObjectName(QString::fromUtf8("partner_edit"));
00109 partner_edit->setReadOnly(true);
00110
00111 gridLayout->addWidget(partner_edit, 2, 1, 1, 1);
00112
00113 order_edit = new QLineEdit(BondPropertiesData);
00114 order_edit->setObjectName(QString::fromUtf8("order_edit"));
00115 order_edit->setReadOnly(true);
00116
00117 gridLayout->addWidget(order_edit, 3, 1, 1, 1);
00118
00119 length_edit = new QLineEdit(BondPropertiesData);
00120 length_edit->setObjectName(QString::fromUtf8("length_edit"));
00121 length_edit->setEnabled(false);
00122 length_edit->setReadOnly(true);
00123
00124 gridLayout->addWidget(length_edit, 6, 1, 1, 1);
00125
00126 TextLabel2 = new QLabel(BondPropertiesData);
00127 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
00128
00129 gridLayout->addWidget(TextLabel2, 1, 0, 1, 1);
00130
00131 TextLabel2_2 = new QLabel(BondPropertiesData);
00132 TextLabel2_2->setObjectName(QString::fromUtf8("TextLabel2_2"));
00133
00134 gridLayout->addWidget(TextLabel2_2, 2, 0, 1, 1);
00135
00136 TextLabel8 = new QLabel(BondPropertiesData);
00137 TextLabel8->setObjectName(QString::fromUtf8("TextLabel8"));
00138
00139 gridLayout->addWidget(TextLabel8, 3, 0, 1, 1);
00140
00141 TextLabel4 = new QLabel(BondPropertiesData);
00142 TextLabel4->setObjectName(QString::fromUtf8("TextLabel4"));
00143
00144 gridLayout->addWidget(TextLabel4, 4, 0, 1, 1);
00145
00146 TextLabel7 = new QLabel(BondPropertiesData);
00147 TextLabel7->setObjectName(QString::fromUtf8("TextLabel7"));
00148
00149 gridLayout->addWidget(TextLabel7, 5, 0, 1, 1);
00150
00151 TextLabel5 = new QLabel(BondPropertiesData);
00152 TextLabel5->setObjectName(QString::fromUtf8("TextLabel5"));
00153
00154 gridLayout->addWidget(TextLabel5, 6, 0, 1, 1);
00155
00156 atom_edit = new QLineEdit(BondPropertiesData);
00157 atom_edit->setObjectName(QString::fromUtf8("atom_edit"));
00158 atom_edit->setReadOnly(true);
00159
00160 gridLayout->addWidget(atom_edit, 0, 1, 1, 1);
00161
00162 type_edit = new QLineEdit(BondPropertiesData);
00163 type_edit->setObjectName(QString::fromUtf8("type_edit"));
00164 type_edit->setReadOnly(true);
00165
00166 gridLayout->addWidget(type_edit, 4, 1, 1, 1);
00167
00168 bond_box = new QComboBox(BondPropertiesData);
00169 bond_box->setObjectName(QString::fromUtf8("bond_box"));
00170
00171 gridLayout->addWidget(bond_box, 1, 1, 1, 1);
00172
00173 focus_atom = new QPushButton(BondPropertiesData);
00174 focus_atom->setObjectName(QString::fromUtf8("focus_atom"));
00175 focus_atom->setMinimumSize(QSize(36, 23));
00176
00177 gridLayout->addWidget(focus_atom, 0, 2, 1, 1);
00178
00179 focus_partner = new QPushButton(BondPropertiesData);
00180 focus_partner->setObjectName(QString::fromUtf8("focus_partner"));
00181 focus_partner->setMinimumSize(QSize(36, 23));
00182
00183 gridLayout->addWidget(focus_partner, 2, 2, 1, 1);
00184
00185 QWidget::setTabOrder(atom_edit, focus_atom);
00186 QWidget::setTabOrder(focus_atom, bond_box);
00187 QWidget::setTabOrder(bond_box, partner_edit);
00188 QWidget::setTabOrder(partner_edit, focus_partner);
00189 QWidget::setTabOrder(focus_partner, order_edit);
00190 QWidget::setTabOrder(order_edit, type_edit);
00191 QWidget::setTabOrder(type_edit, name_edit);
00192 QWidget::setTabOrder(name_edit, length_edit);
00193 QWidget::setTabOrder(length_edit, ok_button);
00194 QWidget::setTabOrder(ok_button, cancel_button);
00195
00196 retranslateUi(BondPropertiesData);
00197
00198 QMetaObject::connectSlotsByName(BondPropertiesData);
00199 }
00200
00201 void retranslateUi(QDialog *BondPropertiesData)
00202 {
00203 BondPropertiesData->setWindowTitle(QApplication::translate("BondPropertiesData", "Bond Properties", 0, QApplication::UnicodeUTF8));
00204 ok_button->setText(QApplication::translate("BondPropertiesData", "O&K", 0, QApplication::UnicodeUTF8));
00205 ok_button->setShortcut(QApplication::translate("BondPropertiesData", "Alt+K", 0, QApplication::UnicodeUTF8));
00206 cancel_button->setText(QApplication::translate("BondPropertiesData", "C&ancel", 0, QApplication::UnicodeUTF8));
00207 cancel_button->setShortcut(QApplication::translate("BondPropertiesData", "Alt+A", 0, QApplication::UnicodeUTF8));
00208 TextLabel1->setText(QApplication::translate("BondPropertiesData", "atom", 0, QApplication::UnicodeUTF8));
00209 name_edit->setText(QString());
00210 TextLabel2->setText(QApplication::translate("BondPropertiesData", "select bond", 0, QApplication::UnicodeUTF8));
00211 TextLabel2_2->setText(QApplication::translate("BondPropertiesData", "partner atom", 0, QApplication::UnicodeUTF8));
00212 TextLabel8->setText(QApplication::translate("BondPropertiesData", "bond order", 0, QApplication::UnicodeUTF8));
00213 TextLabel4->setText(QApplication::translate("BondPropertiesData", "bond type", 0, QApplication::UnicodeUTF8));
00214 TextLabel7->setText(QApplication::translate("BondPropertiesData", "name", 0, QApplication::UnicodeUTF8));
00215 TextLabel5->setText(QApplication::translate("BondPropertiesData", "length", 0, QApplication::UnicodeUTF8));
00216
00217 #ifndef QT_NO_TOOLTIP
00218 bond_box->setToolTip(QApplication::translate("BondPropertiesData", "Select bond type", 0, QApplication::UnicodeUTF8));
00219 #endif // QT_NO_TOOLTIP
00220
00221
00222 #ifndef QT_NO_TOOLTIP
00223 focus_atom->setToolTip(QApplication::translate("BondPropertiesData", "focus and select atom", 0, QApplication::UnicodeUTF8));
00224 #endif // QT_NO_TOOLTIP
00225
00226 focus_atom->setText(QApplication::translate("BondPropertiesData", "Select", 0, QApplication::UnicodeUTF8));
00227
00228 #ifndef QT_NO_TOOLTIP
00229 focus_partner->setToolTip(QApplication::translate("BondPropertiesData", "focus and select atom", 0, QApplication::UnicodeUTF8));
00230 #endif // QT_NO_TOOLTIP
00231
00232 focus_partner->setText(QApplication::translate("BondPropertiesData", "Select", 0, QApplication::UnicodeUTF8));
00233 Q_UNUSED(BondPropertiesData);
00234 }
00235
00236 };
00237
00238 namespace Ui {
00239 class BondPropertiesData: public Ui_BondPropertiesData {};
00240 }
00241
00242 QT_END_NAMESPACE
00243
00244 #endif // BONDPROPERTIESDATA_H