cctw
0.2.1
|
#include <cctwdoublevector3dproperty.h>
Public Slots | |
void | setValue (CctwDoubleVector3D val, int index) |
void | setValue (CctwDoubleVector3D val) |
void | incValue (CctwDoubleVector3D step) |
void | setDefaultValue (CctwDoubleVector3D val) |
void | resetValue () |
void | setSubValue (int axis, double value, int index) |
void | setSubValue (int axis, double value) |
Signals | |
void | valueChanged (CctwDoubleVector3D val, int index) |
void | subValueChanged (int axis, double val, int index) |
Public Member Functions | |
CctwDoubleVector3DProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, CctwDoubleVector3D value, QString toolTip) | |
CctwDoubleVector3DProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, double x, double y, double z, QString toolTip) | |
CctwDoubleVector3D | value () const |
CctwDoubleVector3D | defaultValue () const |
QString | toString (const CctwDoubleVector3D &mat) |
double | subValue (int axis) const |
void | linkTo (QDoubleSpinBox *xSpinBox, QDoubleSpinBox *ySpinBox, QDoubleSpinBox *zSpinBox) |
void | linkTo (int axis, QDoubleSpinBox *spinBox) |
Static Public Member Functions | |
static void | registerMetaTypes () |
static QScriptValue | toScriptValue (QScriptEngine *engine, const CctwDoubleVector3D &vec) |
static void | fromScriptValue (const QScriptValue &obj, CctwDoubleVector3D &vec) |
Private Attributes | |
CctwDoubleVector3D | m_Default |
CctwDoubleVector3D | m_Value |
Definition at line 7 of file cctwdoublevector3dproperty.h.
|
explicit |
Definition at line 8 of file cctwdoublevector3dproperty.cpp.
|
explicit |
Definition at line 15 of file cctwdoublevector3dproperty.cpp.
CctwDoubleVector3D CctwDoubleVector3DProperty::defaultValue | ( | ) | const |
Definition at line 38 of file cctwdoublevector3dproperty.cpp.
References m_Default.
Referenced by resetValue().
|
static |
Definition at line 162 of file cctwdoublevector3dproperty.cpp.
References CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by CctwScriptEngine::CctwScriptEngine().
|
slot |
Definition at line 64 of file cctwdoublevector3dproperty.cpp.
References m_Value, and setValue().
void CctwDoubleVector3DProperty::linkTo | ( | QDoubleSpinBox * | xSpinBox, |
QDoubleSpinBox * | ySpinBox, | ||
QDoubleSpinBox * | zSpinBox | ||
) |
Definition at line 169 of file cctwdoublevector3dproperty.cpp.
void CctwDoubleVector3DProperty::linkTo | ( | int | axis, |
QDoubleSpinBox * | spinBox | ||
) |
Definition at line 184 of file cctwdoublevector3dproperty.cpp.
References CctwDoubleVector3DPropertyDoubleSpinBoxHelper::connect(), setSubValue(), setValue(), subValue(), and subValueChanged().
|
static |
Definition at line 22 of file cctwdoublevector3dproperty.cpp.
References CctwVector3D< double >::customSaver().
Referenced by CctwApplication::CctwApplication().
|
slot |
Definition at line 142 of file cctwdoublevector3dproperty.cpp.
References defaultValue(), and setValue().
|
slot |
Definition at line 135 of file cctwdoublevector3dproperty.cpp.
References m_Default.
|
slot |
Definition at line 69 of file cctwdoublevector3dproperty.cpp.
Referenced by linkTo().
|
slot |
Definition at line 76 of file cctwdoublevector3dproperty.cpp.
References m_Value, subValueChanged(), value(), and valueChanged().
|
slot |
Definition at line 52 of file cctwdoublevector3dproperty.cpp.
References toString().
Referenced by incValue(), linkTo(), and resetValue().
|
slot |
Definition at line 100 of file cctwdoublevector3dproperty.cpp.
References m_Value, subValueChanged(), toString(), and valueChanged().
double CctwDoubleVector3DProperty::subValue | ( | int | axis | ) | const |
Definition at line 45 of file cctwdoublevector3dproperty.cpp.
References m_Value.
Referenced by linkTo().
|
signal |
Referenced by linkTo(), setSubValue(), and setValue().
|
static |
Definition at line 151 of file cctwdoublevector3dproperty.cpp.
References CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by CctwScriptEngine::CctwScriptEngine().
QString CctwDoubleVector3DProperty::toString | ( | const CctwDoubleVector3D & | mat | ) |
Definition at line 91 of file cctwdoublevector3dproperty.cpp.
References CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by setValue().
CctwDoubleVector3D CctwDoubleVector3DProperty::value | ( | ) | const |
Definition at line 31 of file cctwdoublevector3dproperty.cpp.
References m_Value.
Referenced by setSubValue().
|
signal |
Referenced by setSubValue(), and setValue().
|
private |
Definition at line 40 of file cctwdoublevector3dproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 41 of file cctwdoublevector3dproperty.h.
Referenced by incValue(), setSubValue(), setValue(), subValue(), and value().