相机参数有效性控制2
This commit is contained in:
47
HPPA/HyperImagerControl.h
Normal file
47
HPPA/HyperImagerControl.h
Normal file
@ -0,0 +1,47 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "ui_hyperImagerControl.h"
|
||||
|
||||
#include "AspectRatioLabel.h"
|
||||
|
||||
class QDoubleSlider;
|
||||
|
||||
class HyperImagerControl : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
HyperImagerControl(QWidget* parent = nullptr);
|
||||
~HyperImagerControl();
|
||||
|
||||
AspectRatioLabel* imagerPictureLabel() const { return ui.imagerPictureLabel; }
|
||||
|
||||
void setFrameRate(double frameRate);
|
||||
void setIntegrationTime(double integrationTime);
|
||||
void setGain(double gain);
|
||||
|
||||
void CalculateIntegratioinTimeRange(double frameRate);
|
||||
|
||||
signals:
|
||||
void framerateChanged(double framerate);
|
||||
void integrationTimeChanged(double integrationTime);
|
||||
void gainChanged(double gain);
|
||||
|
||||
private Q_SLOTS:
|
||||
void onFramerateLineEditEditingFinished();
|
||||
void onFramerateSliderChanged(double framerate);
|
||||
void onFramerateSliderReleased();
|
||||
|
||||
void onIntegrationTimeLineEditEditingFinished();
|
||||
void onIntegrationTimeSliderChanged(double integrationTime);
|
||||
void onIntegrationTimeSliderReleased();
|
||||
|
||||
void onGainLineEditEditingFinished();
|
||||
void onGainSliderChanged(double gain);
|
||||
void onGainSliderReleased();
|
||||
|
||||
private:
|
||||
Ui::HyperImagerControl ui;
|
||||
};
|
||||
Reference in New Issue
Block a user