QXRD
0.11.16
|
#include <qxrdpowderpointproperty.h>
Public Slots | |
void | setValue (QxrdPowderPoint val, int index) |
void | setValue (QxrdPowderPoint val) |
void | setDefaultValue (QxrdPowderPoint val) |
void | resetValue () |
void | setSubValue (int axis, int value, int index) |
void | setSubValue (int axis, int value) |
void | setSubValue (int axis, double value, int index) |
void | setSubValue (int axis, double value) |
Signals | |
void | valueChanged (QxrdPowderPoint val, int index) |
void | subValueChanged (int axis, int val, int index) |
void | subValueChanged (int axis, double val, int index) |
Public Member Functions | |
QxrdPowderPointProperty (QcepSettingsSaverWPtr saver, QcepObject *parent, const char *name, QxrdPowderPoint value, QString toolTip) | |
QxrdPowderPointProperty (QcepSettingsSaverWPtr saver, QcepObject *parent, const char *name, int n1, int n2, int n3, double x, double y, double r1, double r2, double az, QString toolTip) | |
QxrdPowderPoint | value () const |
QxrdPowderPoint | defaultValue () const |
QString | toString (const QxrdPowderPoint &pt) |
double | subValue (int axis) const |
void | linkTo (QSpinBox *n1SpinBox, QSpinBox *n2SpinBox, QSpinBox *n3SpinBox, QDoubleSpinBox *xSpinBox, QDoubleSpinBox *ySpinBox, QDoubleSpinBox *r1SpinBox, QDoubleSpinBox *r2SpinBox, QDoubleSpinBox *azSpinBox) |
void | linkTo (int axis, QSpinBox *spinBox) |
void | linkTo (int axis, QDoubleSpinBox *spinBox) |
Public Member Functions inherited from QcepProperty | |
QcepProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QString toolTip) | |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) |
QString | name () const |
void | setName (QString name) |
QString | parentName () const |
QString | toolTip () const |
void | setToolTip (QString tip) |
QString | expandedToolTip () const |
void | setWidgetToolTip (QWidget *widget) |
int | index () |
int | incIndex (int step) |
int | debug () const |
void | setDebug (int dbg) |
void | setSaver (QcepSettingsSaverWPtr saver) |
Private Attributes | |
QxrdPowderPoint | m_Default |
QxrdPowderPoint | m_Value |
Additional Inherited Members | |
Static Public Member Functions inherited from QcepProperty | |
static void | registerMetaTypes () |
static void | setSettingsValue (QSettings *settings, QString name, QVariant value) |
static void | writeSettings (QObject *object, QSettings *settings, QString section) |
static void | readSettings (QObject *object, QSettings *settings, QString section) |
static void | writeSettings (QObject *object, const QMetaObject *meta, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | readSettings (QObject *object, const QMetaObject *meta, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | writeSettings (QObject *object, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | readSettings (QObject *object, QString groupName, QSettings *settings, bool includeDynamic=false) |
static void | registerCustomSaver (QString typeName, CustomSettingsSaver *saver) |
Protected Attributes inherited from QcepProperty | |
QMutex | m_Mutex |
QcepSettingsSaverWPtr | m_Saver |
Definition at line 8 of file qxrdpowderpointproperty.h.
|
explicit |
Definition at line 8 of file qxrdpowderpointproperty.cpp.
|
explicit |
Definition at line 15 of file qxrdpowderpointproperty.cpp.
QxrdPowderPoint QxrdPowderPointProperty::defaultValue | ( | ) | const |
Definition at line 33 of file qxrdpowderpointproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
Referenced by resetValue().
void QxrdPowderPointProperty::linkTo | ( | QSpinBox * | n1SpinBox, |
QSpinBox * | n2SpinBox, | ||
QSpinBox * | n3SpinBox, | ||
QDoubleSpinBox * | xSpinBox, | ||
QDoubleSpinBox * | ySpinBox, | ||
QDoubleSpinBox * | r1SpinBox, | ||
QDoubleSpinBox * | r2SpinBox, | ||
QDoubleSpinBox * | azSpinBox | ||
) |
Definition at line 298 of file qxrdpowderpointproperty.cpp.
void QxrdPowderPointProperty::linkTo | ( | int | axis, |
QSpinBox * | spinBox | ||
) |
Definition at line 340 of file qxrdpowderpointproperty.cpp.
References QxrdPowderPointPropertySpinBoxHelper::connect(), QcepProperty::m_Mutex, setSubValue(), QxrdPowderPointPropertySpinBoxHelper::setSubValue(), setValue(), QcepProperty::setWidgetToolTip(), subValue(), subValueChanged(), and QxrdPowderPointPropertySpinBoxHelper::subValueChanged().
void QxrdPowderPointProperty::linkTo | ( | int | axis, |
QDoubleSpinBox * | spinBox | ||
) |
Definition at line 363 of file qxrdpowderpointproperty.cpp.
References QxrdPowderPointPropertyDoubleSpinBoxHelper::connect(), QcepProperty::m_Mutex, setSubValue(), QxrdPowderPointPropertyDoubleSpinBoxHelper::setSubValue(), setValue(), QcepProperty::setWidgetToolTip(), subValue(), subValueChanged(), and QxrdPowderPointPropertyDoubleSpinBoxHelper::subValueChanged().
|
slot |
Definition at line 289 of file qxrdpowderpointproperty.cpp.
References DEBUG_PROPERTIES, defaultValue(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), and setValue().
|
slot |
Definition at line 282 of file qxrdpowderpointproperty.cpp.
References m_Default, and QcepProperty::m_Mutex.
|
slot |
Definition at line 95 of file qxrdpowderpointproperty.cpp.
References QcepProperty::index().
Referenced by linkTo(), and setSubValue().
|
slot |
Definition at line 102 of file qxrdpowderpointproperty.cpp.
References QcepProperty::incIndex(), QcepProperty::m_Mutex, m_Value, QxrdPowderPoint::n1(), QxrdPowderPoint::n2(), QxrdPowderPoint::n3(), subValueChanged(), value(), and valueChanged().
|
slot |
Definition at line 88 of file qxrdpowderpointproperty.cpp.
References QcepProperty::index(), and setSubValue().
|
slot |
Definition at line 145 of file qxrdpowderpointproperty.cpp.
References QxrdPowderPoint::az(), QcepProperty::incIndex(), QcepProperty::m_Mutex, m_Value, QxrdPowderPoint::r1(), QxrdPowderPoint::r2(), subValueChanged(), value(), valueChanged(), QxrdPowderPoint::x(), and QxrdPowderPoint::y().
|
slot |
Definition at line 76 of file qxrdpowderpointproperty.cpp.
References QcepProperty::debug(), QcepProperty::index(), QcepProperty::name(), QcepProperty::printMessage(), and toString().
Referenced by linkTo(), and resetValue().
|
slot |
Definition at line 221 of file qxrdpowderpointproperty.cpp.
References QxrdPowderPoint::az(), QcepProperty::debug(), DEBUG_PROPERTIES, QcepProperty::incIndex(), QcepProperty::index(), QcepProperty::m_Mutex, QcepProperty::m_Saver, m_Value, QxrdPowderPoint::n1(), QxrdPowderPoint::n2(), QxrdPowderPoint::n3(), QcepProperty::name(), QcepProperty::printMessage(), qcepDebug(), QxrdPowderPoint::r1(), QxrdPowderPoint::r2(), subValueChanged(), toString(), valueChanged(), QxrdPowderPoint::x(), and QxrdPowderPoint::y().
double QxrdPowderPointProperty::subValue | ( | int | axis | ) | const |
Definition at line 40 of file qxrdpowderpointproperty.cpp.
References QxrdPowderPoint::az(), QcepProperty::m_Mutex, m_Value, QxrdPowderPoint::n1(), QxrdPowderPoint::n2(), QxrdPowderPoint::n3(), QxrdPowderPoint::r1(), QxrdPowderPoint::r2(), QxrdPowderPoint::x(), and QxrdPowderPoint::y().
Referenced by linkTo().
|
signal |
|
signal |
QString QxrdPowderPointProperty::toString | ( | const QxrdPowderPoint & | pt | ) |
Definition at line 212 of file qxrdpowderpointproperty.cpp.
References QxrdPowderPoint::az(), QcepProperty::m_Mutex, QxrdPowderPoint::n1(), QxrdPowderPoint::n2(), QxrdPowderPoint::n3(), QxrdPowderPoint::r1(), QxrdPowderPoint::r2(), QxrdPowderPoint::x(), and QxrdPowderPoint::y().
Referenced by setValue().
QxrdPowderPoint QxrdPowderPointProperty::value | ( | ) | const |
Definition at line 26 of file qxrdpowderpointproperty.cpp.
References QcepProperty::m_Mutex, and m_Value.
Referenced by setSubValue().
|
signal |
|
private |
Definition at line 40 of file qxrdpowderpointproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 41 of file qxrdpowderpointproperty.h.
Referenced by setSubValue(), setValue(), subValue(), and value().