Files
CodeRepository/App_ThermalImageSystem/Guide/App_UVS12035A/GeneralThermalImageSystem/FrameParams.h

63 lines
1.3 KiB
C
Raw Normal View History

#ifndef FRAMEPARAMS_H
#define FRAMEPARAMS_H
#include <QDialog>
#include "../Common/IO/GIOParams.h"
#include "UIHelp/commonhelper.h"
#include "UIHelp/frameless_helper.h"
namespace Ui {
class FrameParams;
}
class FrameParams : public QDialog
{
Q_OBJECT
public:
explicit FrameParams(QWidget *parent = nullptr);
~FrameParams();
void SetFileType(bool bFileType);
void SetCardCount(int nCardCount);
private:
void InitStyle();
void Connect();
void Disconnect();
void UpdateUI(bool bFileType);
protected:
bool eventFilter(QObject *obj, QEvent *event);
virtual void showEvent(QShowEvent *event);
private slots:
void OnButtonClicked();
void on_m_comboBox_DevType_currentIndexChanged(int index);
void OnComboxIndexChanged_CtrlCmd(int nIndex);
signals:
void sigConfirm_File(bool bOK, const GFrameFormat& varFrameFormat);
void sigConfirm_CPL64(bool bOK, const GFrameFormat_CPL64& varFrameFormat_CPL64);
private:
Ui::FrameParams *ui;
//
bool m_bFileType;
int m_nCardCount;
GFrameFormat m_varFrameFormat_File;
GFrameFormat_CPL64 m_varFrameFormat_CPL64;
//
QPoint m_ptMouse;
bool m_bMousePressed;
};
#endif // FRAMEPARAMS_H