cctw
0.2.1
|
#include <cctwintvector3dproperty.h>
Public Slots | |
void | setValue (CctwIntVector3D val, int index) |
void | setValue (CctwIntVector3D val) |
void | incValue (CctwIntVector3D step) |
void | setDefaultValue (CctwIntVector3D val) |
void | resetValue () |
void | setSubValue (int axis, int value, int index) |
void | setSubValue (int axis, int value) |
Signals | |
void | valueChanged (CctwIntVector3D val, int index) |
void | subValueChanged (int axis, int val, int index) |
Public Member Functions | |
CctwIntVector3DProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, CctwIntVector3D value, QString toolTip) | |
CctwIntVector3DProperty (QcepSettingsSaverWPtr saver, QObject *parent, const char *name, int x, int y, int z, QString toolTip) | |
CctwIntVector3D | value () const |
CctwIntVector3D | defaultValue () const |
QString | toString (const CctwIntVector3D &mat) |
int | subValue (int axis) const |
void | linkTo (QSpinBox *xSpinBox, QSpinBox *ySpinBox, QSpinBox *zSpinBox) |
void | linkTo (int axis, QSpinBox *spinBox) |
Static Public Member Functions | |
static void | registerMetaTypes () |
static QScriptValue | toScriptValue (QScriptEngine *engine, const CctwIntVector3D &vec) |
static void | fromScriptValue (const QScriptValue &obj, CctwIntVector3D &vec) |
Private Attributes | |
CctwIntVector3D | m_Default |
CctwIntVector3D | m_Value |
Definition at line 8 of file cctwintvector3dproperty.h.
|
explicit |
Definition at line 8 of file cctwintvector3dproperty.cpp.
|
explicit |
Definition at line 15 of file cctwintvector3dproperty.cpp.
CctwIntVector3D CctwIntVector3DProperty::defaultValue | ( | ) | const |
Definition at line 38 of file cctwintvector3dproperty.cpp.
References m_Default.
Referenced by resetValue().
|
static |
Definition at line 177 of file cctwintvector3dproperty.cpp.
References CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by CctwScriptEngine::CctwScriptEngine().
|
slot |
Definition at line 64 of file cctwintvector3dproperty.cpp.
References m_Value, toString(), and valueChanged().
void CctwIntVector3DProperty::linkTo | ( | QSpinBox * | xSpinBox, |
QSpinBox * | ySpinBox, | ||
QSpinBox * | zSpinBox | ||
) |
Definition at line 184 of file cctwintvector3dproperty.cpp.
void CctwIntVector3DProperty::linkTo | ( | int | axis, |
QSpinBox * | spinBox | ||
) |
Definition at line 199 of file cctwintvector3dproperty.cpp.
References CctwIntVector3DPropertySpinBoxHelper::connect(), setSubValue(), setValue(), subValue(), and subValueChanged().
|
static |
Definition at line 22 of file cctwintvector3dproperty.cpp.
References CctwVector3D< T >::customSaver().
Referenced by CctwApplication::CctwApplication().
|
slot |
Definition at line 157 of file cctwintvector3dproperty.cpp.
References defaultValue(), and setValue().
|
slot |
|
slot |
Definition at line 84 of file cctwintvector3dproperty.cpp.
Referenced by linkTo().
|
slot |
Definition at line 91 of file cctwintvector3dproperty.cpp.
References m_Value, subValueChanged(), value(), and valueChanged().
|
slot |
Definition at line 52 of file cctwintvector3dproperty.cpp.
References toString().
Referenced by linkTo(), and resetValue().
|
slot |
Definition at line 115 of file cctwintvector3dproperty.cpp.
References m_Value, subValueChanged(), toString(), and valueChanged().
int CctwIntVector3DProperty::subValue | ( | int | axis | ) | const |
Definition at line 45 of file cctwintvector3dproperty.cpp.
References m_Value.
Referenced by linkTo().
|
signal |
Referenced by linkTo(), setSubValue(), and setValue().
|
static |
Definition at line 166 of file cctwintvector3dproperty.cpp.
References CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by CctwScriptEngine::CctwScriptEngine().
QString CctwIntVector3DProperty::toString | ( | const CctwIntVector3D & | mat | ) |
Definition at line 106 of file cctwintvector3dproperty.cpp.
References CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by incValue(), and setValue().
CctwIntVector3D CctwIntVector3DProperty::value | ( | ) | const |
Definition at line 31 of file cctwintvector3dproperty.cpp.
References m_Value.
Referenced by setSubValue().
|
signal |
Referenced by incValue(), setSubValue(), and setValue().
|
private |
Definition at line 41 of file cctwintvector3dproperty.h.
Referenced by defaultValue(), and setDefaultValue().
|
private |
Definition at line 42 of file cctwintvector3dproperty.h.
Referenced by incValue(), setSubValue(), setValue(), subValue(), and value().