1 #ifndef QXRDCALIBRANT_H
2 #define QXRDCALIBRANT_H
15 #include <qscriptengine.h>
58 Q_PROPERTY(
int isUsed READ get_IsUsed WRITE set_IsUsed)
61 Q_PROPERTY(
int index READ get_Index WRITE set_Index STORED false)
64 Q_PROPERTY(
int flags READ get_Flags WRITE set_Flags)
67 Q_PROPERTY(QString
description READ get_Description WRITE set_Description)
70 Q_PROPERTY(
int symmetry READ get_Symmetry WRITE set_Symmetry)
73 Q_PROPERTY(
double a READ get_A WRITE set_A)
76 Q_PROPERTY(
double b READ get_B WRITE set_B)
79 Q_PROPERTY(
double c READ get_C WRITE set_C)
82 Q_PROPERTY(
double alpha READ get_Alpha WRITE set_Alpha)
85 Q_PROPERTY(
double beta READ get_Beta WRITE set_Beta)
88 Q_PROPERTY(
double gamma READ get_Gamma WRITE set_Gamma)
99 #endif // QXRDCALIBRANT_H
QWeakPointer< QxrdCalibrant > QxrdCalibrantWPtr
QxrdCalibrantDSpacings dSpacingsHexagonal(double energy)
#define QCEP_DOUBLE_PROPERTY(propname)
QxrdCalibrantDSpacing dSpacing(int h, int k, int l)
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
#define QCEP_INTEGER_PROPERTY(propname)
static void fromScriptValue(const QScriptValue &obj, QxrdCalibrantWPtr &cal)
QxrdCalibrant(QcepSettingsSaverWPtr saver, QxrdExperimentWPtr exp, QxrdCalibrantLibraryWPtr lib, int index)
QxrdCalibrantLibraryWPtr m_CalibrantLibrary
#define QCEP_STRING_PROPERTY(propname)
QWeakPointer< QxrdCalibrantLibrary > QxrdCalibrantLibraryWPtr
static QScriptValue toScriptValue(QScriptEngine *engine, const QxrdCalibrantWPtr &cal)
QxrdCalibrantDSpacings dSpacingsCubic(double energy)
QxrdExperimentWPtr m_Experiment
QxrdCalibrantDSpacings dSpacings(double energy)
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr