Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-19 09:34:03

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 // Qt-Security score:significant reason:default
0004 
0005 #ifndef QPAGESETUPDIALOG_H
0006 #define QPAGESETUPDIALOG_H
0007 
0008 #include <QtPrintSupport/qtprintsupportglobal.h>
0009 
0010 #include <QtWidgets/qdialog.h>
0011 
0012 QT_REQUIRE_CONFIG(printdialog);
0013 
0014 QT_BEGIN_NAMESPACE
0015 
0016 class QPrinter;
0017 class QPageSetupDialogPrivate;
0018 
0019 class Q_PRINTSUPPORT_EXPORT QPageSetupDialog : public QDialog
0020 {
0021     Q_OBJECT
0022     Q_DECLARE_PRIVATE(QPageSetupDialog)
0023 
0024 public:
0025     explicit QPageSetupDialog(QPrinter *printer, QWidget *parent = nullptr);
0026     explicit QPageSetupDialog(QWidget *parent = nullptr);
0027     ~QPageSetupDialog();
0028 
0029 #if defined(Q_OS_MACOS) || defined(Q_OS_WIN) || defined(Q_QDOC)
0030     void setVisible(bool visible) override;
0031 #endif
0032     int exec() override;
0033 
0034     using QDialog::open;
0035     void open(QObject *receiver, const char *member);
0036 
0037     void done(int result) override;
0038 
0039     QPrinter *printer();
0040 };
0041 
0042 QT_END_NAMESPACE
0043 
0044 #endif // QPAGESETUPDIALOG_H