10 CameraSpec(
const QString& settingsGroup, QObject* parent =
nullptr);
24 SettingsFact* sensorWidth (
void) {
return &_sensorWidthFact; }
33 bool dirty (
void)
const {
return _dirty; }
36 void save(QJsonObject& json)
const;
45 QMap<QString, FactMetaData*> _metaDataMap;
56 static constexpr const char* _sensorWidthName =
"SensorWidth";
57 static constexpr const char* _sensorHeightName =
"SensorHeight";
58 static constexpr const char* _imageWidthName =
"ImageWidth";
59 static constexpr const char* _imageHeightName =
"ImageHeight";
60 static constexpr const char* _focalLengthName =
"FocalLength";
61 static constexpr const char* _landscapeName =
"Landscape";
62 static constexpr const char* _fixedOrientationName =
"FixedOrientation";
63 static constexpr const char* _minTriggerIntervalName =
"MinTriggerInterval";
SettingsFact * minTriggerInterval(void)
SettingsFact * imageHeight(void)
SettingsFact * fixedOrientation(void)
Fact *sensorWidth READ sensorWidth CONSTANT(Fact *sensorHeight READ sensorHeight CONSTANT) 1(Fact *imageWidth READ imageWidth CONSTANT) 1(Fact *imageHeight READ imageHeight CONSTANT) 1(Fact *focalLength READ focalLength CONSTANT) 1(Fact *landscape READ landscape CONSTANT) 1(Fact *fixedOrientation READ fixedOrientation CONSTANT) 1(Fact *minTriggerInterval READ minTriggerInterval CONSTANT) SettingsFact *sensorWidth(void)
< Sensor size in millimeters
void save(QJsonObject &json) const
const CameraSpec & operator=(const CameraSpec &other)
SettingsFact * focalLength(void)
void setDirty(bool dirty)
SettingsFact * sensorHeight(void)
void dirtyChanged(bool dirty)
SettingsFact * imageWidth(void)
bool load(const QJsonObject &json, QString &errorString)
SettingsFact * landscape(void)
A Fact is used to hold a single value within the system.
A SettingsFact is Fact which holds a QSettings value.