/*
 * Copyright (C) 2020 ~ 2021 Uniontech Software Technology Co., Ltd.
 *
 * Author:     LiuMingHang <liuminghang@uniontech.com>
 *
 * Maintainer: ZhangYong <ZhangYong@uniontech.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
//#ifndef PRINTOPTIONSPAGE_H
//#define PRINTOPTIONSPAGE_H

//#include <DDialog>
//#include <QRadioButton>
//#include <DDoubleSpinBox>
//#include <QButtonGroup>
//#include <DComboBox>
//#include <QCheckBox>
//#include <QSettings>
//class QHBoxLayout;
//DWIDGET_USE_NAMESPACE
//typedef DDialog QDlgToDialog;
//typedef DDoubleSpinBox QDSBToDDoubleSpinBox;
//typedef DComboBox QCBToDComboBox;

//class PrintOptionsPage : public QDlgToDialog
//{
//    Q_OBJECT

//public:

//    enum Unit {
//        Millimeters = 0,
//        Centimeters,
//        Inches
//    };

//    enum ScaleMode {
//        NoScale = 0,
//        ScaleToExpanding,
//        ScaleToPage,
//        ScaleToCustomSize
//    };

//    explicit PrintOptionsPage(QWidget *parent = nullptr);

//signals:
//    void valueChanged();

//private:
//    void init();
//    void updateStatus();
//private:
//    QRadioButton *m_noScaleBtn{nullptr};
//    QRadioButton *m_fitToImageBtn{nullptr};
//    QRadioButton *m_fitToPageBtn{nullptr};
//    QRadioButton *m_scaleBtn{nullptr};
//    QDSBToDDoubleSpinBox *m_printWidth{nullptr};
//    QDSBToDDoubleSpinBox *m_printHeight{nullptr};
//    QCBToDComboBox *m_printUnit{nullptr};
//    QButtonGroup *m_buttonGroup{nullptr};
//    QButtonGroup *m_posBtnGroup{nullptr};
//    QSettings m_settings{nullptr};
//};

//#endif // PRINTOPTIONSPAGE_H
