22 qRegisterMetaType< QcepVector3D >(
"QcepVector3D");
24 qRegisterMetaTypeStreamOperators< QcepVector3D >(
"QcepVector3D");
44 printMessage(tr(
"%1 QcepVector3DProperty::setValue(QcepVector3D %2, int %3) [%4]")
48 if (index == this->
index()) {
58 printMessage(tr(
"%1: QcepVector3DProperty::incValue(QcepVector3D %2...)")
77 QString res = tr(
"[ %1 %2 %3 ]").arg(val.x()).arg(val.y()).arg(val.z());
87 printMessage(tr(
"%1 QcepVector3DProperty::setValue(QcepVector3D %2)")
93 printMessage(tr(
"%1: QcepVector3DProperty::setValue(QcepVector3D %2) [%3]")
102 saver->changed(
this);
qint64 qcepDebug(int cond)
QcepVector3D defaultValue() const
void setValue(QcepVector3D val, int index)
QcepVector3D value() const
virtual void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime())
void incValue(QcepVector3D step)
static void registerMetaTypes()
QSharedPointer< QcepSettingsSaver > QcepSettingsSaverPtr
QString toString(const QcepVector3D &mat)
QcepVector3DProperty(QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QcepVector3D value, QString toolTip)
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr
QcepSettingsSaverWPtr m_Saver
void valueChanged(QcepVector3D val, int index)
void setDefaultValue(QcepVector3D val)