You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/Include/nmNum/nmSubWxs/nmWxDFNExportDlg.h

51 lines
907 B
C++

#ifndef NMWXDFNEXPORTDLG_H
#define NMWXDFNEXPORTDLG_H
#include "iDlgBase.h"
QT_BEGIN_NAMESPACE
class QRadioButton;
class QLineEdit;
class QPushButton;
QT_END_NAMESPACE
class nmWxDFNExportDlg : public iDlgBase
{
Q_OBJECT
public:
explicit nmWxDFNExportDlg(QWidget *parent = nullptr);
~nmWxDFNExportDlg();
// 获取导出选项
bool isRounded() const;
bool exportToFile() const;
QString exportFilePath() const;
private slots:
void onBrowseClicked();
void onTargetChanged();
void onOkClicked();
void onCancelClicked();
private:
void initUI();
void initConnections();
// 导出选项
QRadioButton* m_pRoundedRadio;
QRadioButton* m_pExactRadio;
// 导出目标
QRadioButton* m_pClipboardRadio;
QRadioButton* m_pFileRadio;
QLineEdit* m_pFilePathEdit;
QPushButton* m_pBrowseButton;
// 确定/取消按钮
QPushButton* m_pOkButton;
QPushButton* m_pCancelButton;
};
#endif // NMWXDFNEXPORTDLG_H