1 #ifndef QCEPMATRIX3X3PROPERTY_H
2 #define QCEPMATRIX3X3PROPERTY_H
13 double r0c0,
double r0c1,
double r0c2,
14 double r1c0,
double r1c1,
double r1c2,
15 double r2c0,
double r2c1,
double r2c2,
39 #define QCEP_MATRIX3X3_PROPERTY(propname) \
41 QcepMatrix3x3 get_##propname() const \
43 return m_##propname.value(); \
46 void set_##propname(QcepMatrix3x3 val) \
48 m_##propname.setValue(val); \
51 QcepMatrix3x3 def_##propname() const \
53 return m_##propname.defaultValue(); \
56 void setdef_##propname(QcepMatrix3x3 val) \
58 m_##propname.setDefaultValue(val); \
61 void reset_##propname() \
63 m_##propname.resetValue(); \
66 QcepMatrix3x3Property *prop_##propname() { \
67 return &m_##propname; \
71 QcepMatrix3x3Property m_##propname;
73 #endif // QCEPMATRIX3X3PROPERTY_H
QcepMatrix3x3 value() const
void incValue(QcepMatrix3x3 step)
void valueChanged(QcepMatrix3x3 val, int index)
void setDefaultValue(QcepMatrix3x3 val)
static void registerMetaTypes()
QcepMatrix3x3Property(QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QcepMatrix3x3 value, QString toolTip)
void setValue(QcepMatrix3x3 val, int index)
QString toString(const QcepMatrix3x3 &mat)
QcepMatrix3x3 defaultValue() const
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr