14 double r0c0,
double r0c1,
double r0c2,
15 double r1c0,
double r1c1,
double r1c2,
16 double r2c0,
double r2c1,
double r2c2,
24 val(0,0) = r0c0; val(0,1) = r0c1; val(0,2) = r0c2;
25 val(1,0) = r1c0; val(1,1) = r1c1; val(1,2) = r1c2;
26 val(2,0) = r2c0; val(2,1) = r2c1; val(2,2) = r2c2;
34 qRegisterMetaType< QcepMatrix3x3 >(
"QcepMatrix3x3");
36 qRegisterMetaTypeStreamOperators< QcepMatrix3x3 >(
"QcepMatrix3x3");
56 printMessage(tr(
"%1 QcepMatrix3x3Property::setValue(QcepMatrix3x3 %2, int %3) [%4]")
60 if (index == this->
index()) {
70 printMessage(tr(
"%1: QcepMatrix3x3Property::incValue(QcepMatrix3x3 %2...)")
91 for (
int row=0; row<3; row++) {
93 for (
int col=0; col<3; col++) {
94 res += tr(
"%1 ").arg(val(row, col));
109 printMessage(tr(
"%1 QcepMatrix3x3Property::setValue(QcepMatrix3x3 %2)")
115 printMessage(tr(
"%1: QcepMatrix3x3Property::setValue(QcepMatrix3x3 %2) [%3]")
124 saver->changed(
this);
QcepMatrix3x3 value() const
void incValue(QcepMatrix3x3 step)
qint64 qcepDebug(int cond)
void valueChanged(QcepMatrix3x3 val, int index)
void setDefaultValue(QcepMatrix3x3 val)
static void registerMetaTypes()
virtual void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime())
QcepMatrix3x3Property(QcepSettingsSaverWPtr saver, QObject *parent, const char *name, QcepMatrix3x3 value, QString toolTip)
void setValue(QcepMatrix3x3 val, int index)
QSharedPointer< QcepSettingsSaver > QcepSettingsSaverPtr
QString toString(const QcepMatrix3x3 &mat)
QcepMatrix3x3 defaultValue() const
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr
QcepSettingsSaverWPtr m_Saver