Add FrameRate Config
This commit is contained in:
@@ -7,6 +7,7 @@ class ConfigManager: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
Q_PROPERTY(bool recording READ GetRecordingState WRITE SetRecordingState)
|
||||
Q_PROPERTY(int frame_rate READ GetFrameRate WRITE SetFrameRate)
|
||||
Q_PROPERTY(double emissivity READ GetEmissivity WRITE SetEmissivity)
|
||||
|
||||
public:
|
||||
@@ -16,16 +17,20 @@ public:
|
||||
public slots:
|
||||
bool GetRecordingState();
|
||||
void SetRecordingState(bool enable);
|
||||
int GetFrameRate();
|
||||
void SetFrameRate(int frame_rate);
|
||||
double GetEmissivity();
|
||||
void SetEmissivity(double emissivity);
|
||||
|
||||
signals:
|
||||
void NewRecordingState(bool enable);
|
||||
void NewFrameRate(int frame_rate);
|
||||
void NewEmissivity(double emissivity);
|
||||
|
||||
private:
|
||||
bool recording = false;
|
||||
double emissivity = 0.7;
|
||||
int frame_rate = 120;
|
||||
double emissivity = 0.95;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user