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