QXRD  0.11.16
Public Member Functions | Static Public Member Functions | List of all members
QcepMatrix3x3 Class Reference

#include <qcepmatrix3x3.h>

Inheritance diagram for QcepMatrix3x3:
Inheritance graph
Collaboration diagram for QcepMatrix3x3:
Collaboration graph

Public Member Functions

void setSettingsValue (QSettings *settings, QString name)
- Public Member Functions inherited from QcepPropertyValue
 QcepPropertyValue (QObject *parent=0)
virtual ~QcepPropertyValue ()

Static Public Member Functions

static void customSaver (const QVariant &val, QSettings *settings, QString name)

Detailed Description

Definition at line 8 of file qcepmatrix3x3.h.

Member Function Documentation

void QcepMatrix3x3::customSaver ( const QVariant &  val,
QSettings *  settings,
QString  name 

Definition at line 16 of file qcepmatrix3x3.cpp.

References setSettingsValue().

Referenced by QcepProperty::registerMetaTypes().

17 {
18  QcepMatrix3x3 vec = val.value<QcepMatrix3x3>();
20  vec.setSettingsValue(settings, name);
21 }
void setSettingsValue(QSettings *settings, QString name)

Here is the call graph for this function:

Here is the caller graph for this function:

void QcepMatrix3x3::setSettingsValue ( QSettings *  settings,
QString  name 

Reimplemented from QcepPropertyValue.

Definition at line 3 of file qcepmatrix3x3.cpp.

Referenced by customSaver(), and QcepProperty::setSettingsValue().

4 {
5  settings->beginGroup(name);
7  for (int r=0; r<3; r++) {
8  for (int c=0; c<3; c++) {
9  settings->setValue(QString("r%1c%2").arg(r).arg(c), operator()(r,c));
10  }
11  }
13  settings->endGroup();
14 }

Here is the caller graph for this function:

The documentation for this class was generated from the following files: