30 class Lens :
public QObject
33 Q_PROPERTY(QString name READ name WRITE setName)
34 Q_PROPERTY(
double multipler READ multipler WRITE setMultipler)
38 Q_INVOKABLE
Lens(
const QObject& other);
40 static Lens* lensFromSettings(QSettings* theSettings,
int lensIndex);
41 static Lens* lensModel();
43 double multipler()
const;
44 void setMultipler(
double theValue);
45 const QString name()
const;
46 void setName(
const QString& theValue);
47 QMap<int, QString> propertyMap();