29 class CCD :
public QObject
32 Q_PROPERTY(QString name READ name WRITE setName)
33 Q_PROPERTY(
int resolutionX READ resolutionX WRITE setResolutionX)
34 Q_PROPERTY(
int resolutionY READ resolutionY WRITE setResolutionY)
35 Q_PROPERTY(
double chipWidth READ chipWidth WRITE setChipWidth)
36 Q_PROPERTY(
double chipHeight READ chipHeight WRITE setChipHeight)
37 Q_PROPERTY(
double pixelWidth READ pixelWidth WRITE setPixelWidth)
38 Q_PROPERTY(
double pixelHeight READ pixelHeight WRITE setPixelHeight)
41 Q_INVOKABLE
CCD(
const QObject& other);
43 static CCD* ccdFromSettings(QSettings* theSettings,
int ccdIndex);
44 static CCD* ccdModel();
47 void setName(QString name);
49 int resolutionX()
const;
50 void setResolutionX(
int resolution);
51 int resolutionY()
const;
52 void setResolutionY(
int resolution);
53 double chipWidth()
const;
54 void setChipWidth(
double width);
55 double chipHeight()
const;
56 void setChipHeight(
double height);
57 double pixelWidth()
const;
58 void setPixelWidth(
double width);
59 double pixelHeight()
const;
60 void setPixelHeight(
double height);
68 QMap<int, QString> propertyMap();