31 class Lens :
public QObject
34 Q_PROPERTY(QString name READ name WRITE setName)
35 Q_PROPERTY(
double multipler READ multipler WRITE setMultipler)
39 Q_INVOKABLE
Lens(
const QObject& other);
41 static Lens* lensFromSettings(QSettings* theSettings,
int lensIndex);
42 void writeToSettings(QSettings * settings,
const int index);
43 static Lens* lensModel();
45 double multipler()
const;
46 void setMultipler(
double theValue);
47 const QString name()
const;
48 void setName(
const QString& theValue);
49 QMap<int, QString> propertyMap();