Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtPrintSupport/qpagesetupdialog.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 
0004 #ifndef QPAGESETUPDIALOG_H
0005 #define QPAGESETUPDIALOG_H
0006 
0007 #include <QtPrintSupport/qtprintsupportglobal.h>
0008 
0009 #include <QtWidgets/qdialog.h>
0010 
0011 QT_REQUIRE_CONFIG(printdialog);
0012 
0013 QT_BEGIN_NAMESPACE
0014 
0015 class QPrinter;
0016 class QPageSetupDialogPrivate;
0017 
0018 class Q_PRINTSUPPORT_EXPORT QPageSetupDialog : public QDialog
0019 {
0020     Q_OBJECT
0021     Q_DECLARE_PRIVATE(QPageSetupDialog)
0022 
0023 public:
0024     explicit QPageSetupDialog(QPrinter *printer, QWidget *parent = nullptr);
0025     explicit QPageSetupDialog(QWidget *parent = nullptr);
0026     ~QPageSetupDialog();
0027 
0028 #if defined(Q_OS_MAC) || defined(Q_OS_WIN) || defined(Q_QDOC)
0029     void setVisible(bool visible) override;
0030 #endif
0031     int exec() override;
0032 
0033     using QDialog::open;
0034     void open(QObject *receiver, const char *member);
0035 
0036     void done(int result) override;
0037 
0038     QPrinter *printer();
0039 };
0040 
0041 QT_END_NAMESPACE
0042 
0043 #endif // QPAGESETUPDIALOG_H