相机参数有效性控制2

This commit is contained in:
tangchao0503
2026-03-20 09:08:27 +08:00
parent 8bbe402a63
commit 0fb81ab3e8
9 changed files with 559 additions and 431 deletions

47
HPPA/HyperImagerControl.h Normal file
View 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;
};