#ifndef PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H #define PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QAbstractPrintDialog : public QObject { Q_OBJECT public: Q_ENUMS(PrintRange PrintDialogOption ) enum PrintRange{ AllPages = QAbstractPrintDialog::AllPages, Selection = QAbstractPrintDialog::Selection, PageRange = QAbstractPrintDialog::PageRange}; enum PrintDialogOption{ None = QAbstractPrintDialog::None, PrintToFile = QAbstractPrintDialog::PrintToFile, PrintSelection = QAbstractPrintDialog::PrintSelection, PrintPageRange = QAbstractPrintDialog::PrintPageRange, PrintShowPageSize = QAbstractPrintDialog::PrintShowPageSize, PrintCollateCopies = QAbstractPrintDialog::PrintCollateCopies, DontUseSheet = QAbstractPrintDialog::DontUseSheet}; public slots: void delete_QAbstractPrintDialog(QAbstractPrintDialog* obj) { delete obj; } void addEnabledOption(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option); QAbstractPrintDialog::PrintDialogOptions enabledOptions(QAbstractPrintDialog* theWrappedObject) const; int exec(QAbstractPrintDialog* theWrappedObject); int fromPage(QAbstractPrintDialog* theWrappedObject) const; bool isOptionEnabled(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; int maxPage(QAbstractPrintDialog* theWrappedObject) const; int minPage(QAbstractPrintDialog* theWrappedObject) const; QAbstractPrintDialog::PrintRange printRange(QAbstractPrintDialog* theWrappedObject) const; QPrinter* printer(QAbstractPrintDialog* theWrappedObject) const; void setEnabledOptions(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); void setFromTo(QAbstractPrintDialog* theWrappedObject, int fromPage, int toPage); void setMinMax(QAbstractPrintDialog* theWrappedObject, int min, int max); void setOptionTabs(QAbstractPrintDialog* theWrappedObject, const QList& tabs); void setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range); int toPage(QAbstractPrintDialog* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H