Files
chenzhen 222dda1e43 1,新增“App_ThermalImageSystem”;
2,新增“Apps”;
3,新增“Common”;
4,新增“FileList”;
5,新增“MediaX”;
6,新增“OpenSource”;
7,新增“Samples”;
8,新增“SoftwareBusinessLines”.
2026-02-14 23:03:23 +08:00

63 lines
1.3 KiB
C++

#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