31 class Lens :
public QObject
34 Q_PROPERTY(QString name READ getName WRITE setName)
35 Q_PROPERTY(
double multipler READ getMultipler 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 getMultipler()
const;
46 void setMultipler(
double theValue);
47 const QString getName()
const;
48 void setName(
const QString& theValue);
49 QMap<int, QString> propertyMap();