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.
|
|
|
|
|
#ifndef NMWXDFNEXPORTDLG_H
|
|
|
|
|
|
#define NMWXDFNEXPORTDLG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
class QRadioButton;
|
|
|
|
|
|
class QLineEdit;
|
|
|
|
|
|
class QPushButton;
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
|
|
|
|
class nmWxDFNExportDlg : public QDialog
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
explicit nmWxDFNExportDlg(QWidget *parent = nullptr);
|
|
|
|
|
|
~nmWxDFNExportDlg();
|
|
|
|
|
|
|
|
|
|
|
|
// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>
|
|
|
|
|
|
bool isRounded() const;
|
|
|
|
|
|
bool exportToFile() const;
|
|
|
|
|
|
QString exportFilePath() const;
|
|
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
void onBrowseClicked();
|
|
|
|
|
|
void onTargetChanged();
|
|
|
|
|
|
void onOkClicked();
|
|
|
|
|
|
void onCancelClicked();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
void initUI();
|
|
|
|
|
|
void initConnections();
|
|
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>
|
|
|
|
|
|
QRadioButton* m_pRoundedRadio;
|
|
|
|
|
|
QRadioButton* m_pExactRadio;
|
|
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>
|
|
|
|
|
|
QRadioButton* m_pClipboardRadio;
|
|
|
|
|
|
QRadioButton* m_pFileRadio;
|
|
|
|
|
|
QLineEdit* m_pFilePathEdit;
|
|
|
|
|
|
QPushButton* m_pBrowseButton;
|
|
|
|
|
|
|
|
|
|
|
|
// ȷ<><C8B7>/ȡ<><C8A1><EFBFBD><EFBFBD>ť
|
|
|
|
|
|
QPushButton* m_pOkButton;
|
|
|
|
|
|
QPushButton* m_pCancelButton;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // NMWXDFNEXPORTDLG_H
|