##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QAbstractPrintDialog.h
63 lines | 2.8 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QAbstractPrintDialog.h
#ifndef PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H
#define PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H
#include <qabstractprintdialog.h>
#include <QObject>
#include <QVariant>
#include <qabstractprintdialog.h>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qprinter.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qwidget.h>
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<QWidget* >& tabs);
void setPrintRange(QAbstractPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintRange range);
int toPage(QAbstractPrintDialog* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QABSTRACTPRINTDIALOG_H