9 #ifndef UI_PQMOLECULEPROPERTYWIDGET_H 10 #define UI_PQMOLECULEPROPERTYWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QComboBox> 16 #include <QtWidgets/QFrame> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QToolButton> 20 #include <QtWidgets/QWidget> 57 void setupUi(QWidget *MoleculePropertyWidget)
59 if (MoleculePropertyWidget->objectName().isEmpty())
60 MoleculePropertyWidget->setObjectName(QString::fromUtf8(
"MoleculePropertyWidget"));
61 MoleculePropertyWidget->resize(301, 251);
62 wdgLayout =
new QGridLayout(MoleculePropertyWidget);
63 wdgLayout->setObjectName(QString::fromUtf8(
"wdgLayout"));
64 presetLabel =
new QLabel(MoleculePropertyWidget);
65 presetLabel->setObjectName(QString::fromUtf8(
"presetLabel"));
67 wdgLayout->addWidget(presetLabel, 1, 0, 1, 1);
69 preset =
new QComboBox(MoleculePropertyWidget);
70 preset->setObjectName(QString::fromUtf8(
"preset"));
72 wdgLayout->addWidget(preset, 1, 1, 1, 3);
74 ShowAomsLabel =
new QLabel(MoleculePropertyWidget);
75 ShowAomsLabel->setObjectName(QString::fromUtf8(
"ShowAomsLabel"));
77 wdgLayout->addWidget(ShowAomsLabel, 2, 0, 1, 1);
79 showAtoms =
new QCheckBox(MoleculePropertyWidget);
80 showAtoms->setObjectName(QString::fromUtf8(
"showAtoms"));
81 showAtoms->setChecked(
true);
83 wdgLayout->addWidget(showAtoms, 2, 1, 1, 1);
85 atomicRadiusTypeLabel =
new QLabel(MoleculePropertyWidget);
86 atomicRadiusTypeLabel->setObjectName(QString::fromUtf8(
"atomicRadiusTypeLabel"));
88 wdgLayout->addWidget(atomicRadiusTypeLabel, 3, 0, 1, 1);
90 atomicRadiusType =
new QComboBox(MoleculePropertyWidget);
91 atomicRadiusType->setObjectName(QString::fromUtf8(
"atomicRadiusType"));
93 wdgLayout->addWidget(atomicRadiusType, 3, 1, 1, 3);
95 atomicRadiusFactorLabel =
new QLabel(MoleculePropertyWidget);
96 atomicRadiusFactorLabel->setObjectName(QString::fromUtf8(
"atomicRadiusFactorLabel"));
98 wdgLayout->addWidget(atomicRadiusFactorLabel, 4, 0, 1, 1);
101 atomicRadiusFactor->setObjectName(QString::fromUtf8(
"atomicRadiusFactor"));
103 wdgLayout->addWidget(atomicRadiusFactor, 4, 1, 1, 1);
106 scaleAtomicRadiusFactor->setObjectName(QString::fromUtf8(
"scaleAtomicRadiusFactor"));
108 wdgLayout->addWidget(scaleAtomicRadiusFactor, 4, 2, 1, 1);
110 resetAtomicRadiusFactor =
new QToolButton(MoleculePropertyWidget);
111 resetAtomicRadiusFactor->setObjectName(QString::fromUtf8(
"resetAtomicRadiusFactor"));
113 wdgLayout->addWidget(resetAtomicRadiusFactor, 4, 3, 1, 1);
115 atomicRadiusArrayNameLabel =
new QLabel(MoleculePropertyWidget);
116 atomicRadiusArrayNameLabel->setObjectName(QString::fromUtf8(
"atomicRadiusArrayNameLabel"));
118 wdgLayout->addWidget(atomicRadiusArrayNameLabel, 5, 0, 1, 1);
120 atomicRadiusArrayName =
new QComboBox(MoleculePropertyWidget);
121 atomicRadiusArrayName->setObjectName(QString::fromUtf8(
"atomicRadiusArrayName"));
123 wdgLayout->addWidget(atomicRadiusArrayName, 5, 1, 1, 3);
125 line =
new QFrame(MoleculePropertyWidget);
126 line->setObjectName(QString::fromUtf8(
"line"));
127 line->setFrameShape(QFrame::HLine);
128 line->setFrameShadow(QFrame::Sunken);
130 wdgLayout->addWidget(line, 6, 0, 1, 3);
132 ShowBondsLabel =
new QLabel(MoleculePropertyWidget);
133 ShowBondsLabel->setObjectName(QString::fromUtf8(
"ShowBondsLabel"));
135 wdgLayout->addWidget(ShowBondsLabel, 7, 0, 1, 1);
137 showBonds =
new QCheckBox(MoleculePropertyWidget);
138 showBonds->setObjectName(QString::fromUtf8(
"showBonds"));
139 showBonds->setChecked(
true);
141 wdgLayout->addWidget(showBonds, 7, 1, 1, 1);
143 bondRadiusLabel =
new QLabel(MoleculePropertyWidget);
144 bondRadiusLabel->setObjectName(QString::fromUtf8(
"bondRadiusLabel"));
146 wdgLayout->addWidget(bondRadiusLabel, 8, 0, 1, 1);
149 bondRadius->setObjectName(QString::fromUtf8(
"bondRadius"));
151 wdgLayout->addWidget(bondRadius, 8, 1, 1, 1);
154 scaleBondRadius->setObjectName(QString::fromUtf8(
"scaleBondRadius"));
156 wdgLayout->addWidget(scaleBondRadius, 8, 2, 1, 1);
158 resetBondRadius =
new QToolButton(MoleculePropertyWidget);
159 resetBondRadius->setObjectName(QString::fromUtf8(
"resetBondRadius"));
161 wdgLayout->addWidget(resetBondRadius, 8, 3, 1, 1);
163 multiCylindersLabel =
new QLabel(MoleculePropertyWidget);
164 multiCylindersLabel->setObjectName(QString::fromUtf8(
"multiCylindersLabel"));
166 wdgLayout->addWidget(multiCylindersLabel, 9, 0, 1, 1);
168 useMultiCylinders =
new QCheckBox(MoleculePropertyWidget);
169 useMultiCylinders->setObjectName(QString::fromUtf8(
"useMultiCylinders"));
170 useMultiCylinders->setChecked(
true);
172 wdgLayout->addWidget(useMultiCylinders, 9, 1, 1, 1);
174 bondColorModeLabel =
new QLabel(MoleculePropertyWidget);
175 bondColorModeLabel->setObjectName(QString::fromUtf8(
"bondColorModeLabel"));
177 wdgLayout->addWidget(bondColorModeLabel, 10, 0, 1, 1);
179 bondColorMode =
new QCheckBox(MoleculePropertyWidget);
180 bondColorMode->setObjectName(QString::fromUtf8(
"bondColorMode"));
181 bondColorMode->setChecked(
true);
183 wdgLayout->addWidget(bondColorMode, 10, 1, 1, 1);
185 bondColorLabel =
new QLabel(MoleculePropertyWidget);
186 bondColorLabel->setObjectName(QString::fromUtf8(
"bondColorLabel"));
188 wdgLayout->addWidget(bondColorLabel, 11, 0, 1, 1);
191 bondColor->setObjectName(QString::fromUtf8(
"bondColor"));
193 wdgLayout->addWidget(bondColor, 11, 1, 1, 1);
198 QMetaObject::connectSlotsByName(MoleculePropertyWidget);
203 MoleculePropertyWidget->setWindowTitle(QCoreApplication::translate(
"MoleculePropertyWidget",
"Form",
nullptr));
204 presetLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Preset",
nullptr));
205 ShowAomsLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Show Atoms ",
nullptr));
206 showAtoms->setText(QString());
207 atomicRadiusTypeLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Atom Radius type",
nullptr));
208 atomicRadiusFactorLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Atom Radius Factor",
nullptr));
209 atomicRadiusArrayNameLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Atomic Radius Array",
nullptr));
210 ShowBondsLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Show Bonds",
nullptr));
211 showBonds->setText(QString());
212 bondRadiusLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Bonds Radius",
nullptr));
213 multiCylindersLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Use Multi Cylinders",
nullptr));
214 useMultiCylinders->setText(QString());
215 bondColorModeLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Use Atom Color ",
nullptr));
216 bondColorMode->setText(QString());
217 bondColorLabel->setText(QCoreApplication::translate(
"MoleculePropertyWidget",
"Bonds color",
nullptr));
228 #endif // UI_PQMOLECULEPROPERTYWIDGET_H