Warning, file /include/QtPrintSupport/qprintpreviewdialog.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef QPRINTPREVIEWDIALOG_H
0005 #define QPRINTPREVIEWDIALOG_H
0006
0007 #include <QtPrintSupport/qtprintsupportglobal.h>
0008
0009 #include <QtWidgets/qdialog.h>
0010
0011 QT_REQUIRE_CONFIG(printpreviewdialog);
0012
0013 QT_BEGIN_NAMESPACE
0014
0015 class QGraphicsView;
0016 class QPrintPreviewDialogPrivate;
0017 class QPrinter;
0018
0019 class Q_PRINTSUPPORT_EXPORT QPrintPreviewDialog : public QDialog
0020 {
0021 Q_OBJECT
0022 Q_DECLARE_PRIVATE(QPrintPreviewDialog)
0023
0024 public:
0025 explicit QPrintPreviewDialog(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags());
0026 explicit QPrintPreviewDialog(QPrinter *printer, QWidget *parent = nullptr,
0027 Qt::WindowFlags flags = Qt::WindowFlags());
0028 ~QPrintPreviewDialog();
0029
0030 using QDialog::open;
0031 void open(QObject *receiver, const char *member);
0032
0033 QPrinter *printer();
0034
0035 void setVisible(bool visible) override;
0036 void done(int result) override;
0037
0038 Q_SIGNALS:
0039 void paintRequested(QPrinter *printer);
0040
0041 private:
0042 Q_PRIVATE_SLOT(d_func(), void _q_fit(QAction *action))
0043 Q_PRIVATE_SLOT(d_func(), void _q_zoomIn())
0044 Q_PRIVATE_SLOT(d_func(), void _q_zoomOut())
0045 Q_PRIVATE_SLOT(d_func(), void _q_navigate(QAction *action))
0046 Q_PRIVATE_SLOT(d_func(), void _q_setMode(QAction *action))
0047 Q_PRIVATE_SLOT(d_func(), void _q_pageNumEdited())
0048 Q_PRIVATE_SLOT(d_func(), void _q_print())
0049 Q_PRIVATE_SLOT(d_func(), void _q_pageSetup())
0050 Q_PRIVATE_SLOT(d_func(), void _q_previewChanged())
0051 Q_PRIVATE_SLOT(d_func(), void _q_zoomFactorChanged())
0052 };
0053
0054
0055 QT_END_NAMESPACE
0056
0057 #endif