QXRD
0.11.16
|
#include <qxrdcalibrantdspacings.h>
Public Member Functions | |
void | setSettingsValue (QSettings *settings, QString name) |
QString | toString () const |
void | insertUnique (int index, int h, int k, int l, double d, double tth) |
void | merge (const QxrdCalibrantDSpacings &vec) |
double | calibrantDSpacing (int n) |
double | calibrantTTH (int n) |
Static Public Member Functions | |
static void | customSaver (const QVariant &val, QSettings *settings, QString name) |
static void | registerMetaTypes () |
Definition at line 10 of file qxrdcalibrantdspacings.h.
double QxrdCalibrantDSpacings::calibrantDSpacing | ( | int | n | ) |
Definition at line 95 of file qxrdcalibrantdspacings.cpp.
double QxrdCalibrantDSpacings::calibrantTTH | ( | int | n | ) |
Definition at line 106 of file qxrdcalibrantdspacings.cpp.
|
static |
Definition at line 21 of file qxrdcalibrantdspacings.cpp.
References setSettingsValue().
Referenced by registerMetaTypes().
void QxrdCalibrantDSpacings::insertUnique | ( | int | index, |
int | h, | ||
int | k, | ||
int | l, | ||
double | d, | ||
double | tth | ||
) |
Definition at line 54 of file qxrdcalibrantdspacings.cpp.
References QxrdCalibrantDSpacing::d(), and QxrdCalibrantDSpacing::n().
Referenced by QxrdCalibrant::dSpacingsHexagonal().
void QxrdCalibrantDSpacings::merge | ( | const QxrdCalibrantDSpacings & | vec | ) |
Definition at line 73 of file qxrdcalibrantdspacings.cpp.
|
static |
Definition at line 45 of file qxrdcalibrantdspacings.cpp.
References customSaver(), and QcepProperty::registerCustomSaver().
Referenced by QxrdApplication::QxrdApplication().
void QxrdCalibrantDSpacings::setSettingsValue | ( | QSettings * | settings, |
QString | name | ||
) |
Definition at line 3 of file qxrdcalibrantdspacings.cpp.
References QxrdCalibrantDSpacing::d(), QxrdCalibrantDSpacing::h(), QxrdCalibrantDSpacing::index(), QxrdCalibrantDSpacing::k(), QxrdCalibrantDSpacing::l(), and QxrdCalibrantDSpacing::tth().
Referenced by customSaver().
QString QxrdCalibrantDSpacings::toString | ( | ) | const |
Definition at line 28 of file qxrdcalibrantdspacings.cpp.