The class AtomDCProperties defines an object that allows interaction of some properties of an atom.
More...
#include <AtomDCProperties.h>
The class AtomDCProperties defines an object that allows interaction of some properties of an atom.
The default atom properties are created thanks to Q_PROPERTY. The extra properties found in the PML document are also available thanks to the dynamic features of the Qt's Property System (see qt documentation).
AtomDCProperties::AtomDCProperties |
( |
AtomDC * |
| ) |
|
AtomDCProperties::~AtomDCProperties |
( |
| ) |
|
|
inline |
virtual bool AtomDCProperties::event |
( |
QEvent * |
e | ) |
|
|
virtual |
intercept signal for dynamic property changed.
int AtomDCProperties::getIndex |
( |
| ) |
const |
get the atom's index in a form the property editor understands
QVector3D AtomDCProperties::getPosition |
( |
| ) |
const |
get the atom's position in a form the property editor understands
void AtomDCProperties::setIndex |
( |
int |
| ) |
|
change the atom's index from the property editor
void AtomDCProperties::setPosition |
( |
QVector3D |
| ) |
|
change the atom's position from the property editor
void AtomDCProperties::updateProperties |
( |
AtomDC * |
| ) |
|
change the currently managed AtomDC and update the value of the properties
AtomDC* AtomDCProperties::myDC |
|
private |
the currently selected atom's AtomDC
int AtomDCProperties::index |
|
readwrite |
the index property that will be managed in the property dialog
QVector3D AtomDCProperties::position |
|
readwrite |
The documentation for this class was generated from the following file: