#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 #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QTextDocument : public QTextDocument { public: PythonQtShell_QTextDocument(QObject* parent = 0):QTextDocument(parent),_wrapper(NULL) {}; PythonQtShell_QTextDocument(const QString& text, QObject* parent = 0):QTextDocument(text, parent),_wrapper(NULL) {}; ~PythonQtShell_QTextDocument(); virtual void childEvent(QChildEvent* arg__1); virtual void clear(); virtual QTextObject* createObject(const QTextFormat& f); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual QVariant loadResource(int type, const QUrl& name); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextDocument : public QTextDocument { public: inline void promoted_clear() { QTextDocument::clear(); } inline QTextObject* promoted_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } }; class PythonQtWrapper_QTextDocument : public QObject { Q_OBJECT public: Q_ENUMS(Stacks ResourceType MetaInformation FindFlag ) Q_FLAGS(FindFlags ) enum Stacks{ UndoStack = QTextDocument::UndoStack, RedoStack = QTextDocument::RedoStack, UndoAndRedoStacks = QTextDocument::UndoAndRedoStacks}; enum ResourceType{ HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; enum MetaInformation{ DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; enum FindFlag{ FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; Q_DECLARE_FLAGS(FindFlags, FindFlag) public slots: QTextDocument* new_QTextDocument(QObject* parent = 0); QTextDocument* new_QTextDocument(const QString& text, QObject* parent = 0); void delete_QTextDocument(QTextDocument* obj) { delete obj; } void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); void adjustSize(QTextDocument* theWrappedObject); QVector allFormats(QTextDocument* theWrappedObject) const; int availableRedoSteps(QTextDocument* theWrappedObject) const; int availableUndoSteps(QTextDocument* theWrappedObject) const; QTextBlock begin(QTextDocument* theWrappedObject) const; int blockCount(QTextDocument* theWrappedObject) const; QChar characterAt(QTextDocument* theWrappedObject, int pos) const; int characterCount(QTextDocument* theWrappedObject) const; void clear(QTextDocument* theWrappedObject); void clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear = QTextDocument::UndoAndRedoStacks); QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = 0) const; QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); Qt::CursorMoveStyle defaultCursorMoveStyle(QTextDocument* theWrappedObject) const; QFont defaultFont(QTextDocument* theWrappedObject) const; QString defaultStyleSheet(QTextDocument* theWrappedObject) const; QTextOption defaultTextOption(QTextDocument* theWrappedObject) const; QAbstractTextDocumentLayout* documentLayout(QTextDocument* theWrappedObject) const; qreal documentMargin(QTextDocument* theWrappedObject) const; void drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect = QRectF()); QTextBlock end(QTextDocument* theWrappedObject) const; QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = 0) const; QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = 0) const; QTextBlock findBlock(QTextDocument* theWrappedObject, int pos) const; QTextBlock findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const; QTextBlock findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const; QTextBlock firstBlock(QTextDocument* theWrappedObject) const; QTextFrame* frameAt(QTextDocument* theWrappedObject, int pos) const; qreal idealWidth(QTextDocument* theWrappedObject) const; qreal indentWidth(QTextDocument* theWrappedObject) const; bool isEmpty(QTextDocument* theWrappedObject) const; bool isModified(QTextDocument* theWrappedObject) const; bool isRedoAvailable(QTextDocument* theWrappedObject) const; bool isUndoAvailable(QTextDocument* theWrappedObject) const; bool isUndoRedoEnabled(QTextDocument* theWrappedObject) const; QTextBlock lastBlock(QTextDocument* theWrappedObject) const; int lineCount(QTextDocument* theWrappedObject) const; QVariant loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name); void markContentsDirty(QTextDocument* theWrappedObject, int from, int length); int maximumBlockCount(QTextDocument* theWrappedObject) const; QString metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const; QTextObject* object(QTextDocument* theWrappedObject, int objectIndex) const; QTextObject* objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const; int pageCount(QTextDocument* theWrappedObject) const; QSizeF pageSize(QTextDocument* theWrappedObject) const; void redo(QTextDocument* theWrappedObject, QTextCursor* cursor); QVariant resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const; int revision(QTextDocument* theWrappedObject) const; QTextFrame* rootFrame(QTextDocument* theWrappedObject) const; void setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style); void setDefaultFont(QTextDocument* theWrappedObject, const QFont& font); void setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet); void setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option); void setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout); void setDocumentMargin(QTextDocument* theWrappedObject, qreal margin); void setHtml(QTextDocument* theWrappedObject, const QString& html); void setIndentWidth(QTextDocument* theWrappedObject, qreal width); void setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum); void setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2); void setPageSize(QTextDocument* theWrappedObject, const QSizeF& size); void setPlainText(QTextDocument* theWrappedObject, const QString& text); void setTextWidth(QTextDocument* theWrappedObject, qreal width); void setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable); void setUseDesignMetrics(QTextDocument* theWrappedObject, bool b); QSizeF size(QTextDocument* theWrappedObject) const; qreal textWidth(QTextDocument* theWrappedObject) const; QString toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding = QByteArray()) const; QString toPlainText(QTextDocument* theWrappedObject) const; void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); bool useDesignMetrics(QTextDocument* theWrappedObject) const; }; class PythonQtWrapper_QTextDocumentFragment : public QObject { Q_OBJECT public: public slots: QTextDocumentFragment* new_QTextDocumentFragment(); QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); bool isEmpty(QTextDocumentFragment* theWrappedObject) const; QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding = QByteArray()) const; QString toPlainText(QTextDocumentFragment* theWrappedObject) const; }; class PythonQtWrapper_QTextDocumentWriter : public QObject { Q_OBJECT public: public slots: QTextDocumentWriter* new_QTextDocumentWriter(); QTextDocumentWriter* new_QTextDocumentWriter(QIODevice* device, const QByteArray& format); QTextDocumentWriter* new_QTextDocumentWriter(const QString& fileName, const QByteArray& format = QByteArray()); void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } QTextCodec* codec(QTextDocumentWriter* theWrappedObject) const; QIODevice* device(QTextDocumentWriter* theWrappedObject) const; QString fileName(QTextDocumentWriter* theWrappedObject) const; QByteArray format(QTextDocumentWriter* theWrappedObject) const; void setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec); void setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device); void setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName); void setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format); QList static_QTextDocumentWriter_supportedDocumentFormats(); bool write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document); bool write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment); }; class PythonQtShell_QTextEdit : public QTextEdit { public: PythonQtShell_QTextEdit(QWidget* parent = 0):QTextEdit(parent),_wrapper(NULL) {}; PythonQtShell_QTextEdit(const QString& text, QWidget* parent = 0):QTextEdit(text, parent),_wrapper(NULL) {}; ~PythonQtShell_QTextEdit(); virtual void actionEvent(QActionEvent* arg__1); virtual bool canInsertFromMimeData(const QMimeData* source) const; virtual void changeEvent(QEvent* e); virtual void childEvent(QChildEvent* arg__1); virtual void closeEvent(QCloseEvent* arg__1); virtual void contextMenuEvent(QContextMenuEvent* e); virtual QMimeData* createMimeDataFromSelection() const; virtual void customEvent(QEvent* arg__1); virtual int devType() const; virtual void doSetTextCursor(const QTextCursor& cursor); virtual void dragEnterEvent(QDragEnterEvent* e); virtual void dragLeaveEvent(QDragLeaveEvent* e); virtual void dragMoveEvent(QDragMoveEvent* e); virtual void dropEvent(QDropEvent* e); virtual void enterEvent(QEvent* arg__1); virtual bool event(QEvent* e); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void focusInEvent(QFocusEvent* e); virtual bool focusNextPrevChild(bool next); virtual void focusOutEvent(QFocusEvent* e); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int arg__1) const; virtual void hideEvent(QHideEvent* arg__1); virtual void initPainter(QPainter* painter) const; virtual void inputMethodEvent(QInputMethodEvent* arg__1); virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; virtual void insertFromMimeData(const QMimeData* source); virtual void keyPressEvent(QKeyEvent* e); virtual void keyReleaseEvent(QKeyEvent* e); virtual void leaveEvent(QEvent* arg__1); virtual QVariant loadResource(int type, const QUrl& name); virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; virtual void mouseDoubleClickEvent(QMouseEvent* e); virtual void mouseMoveEvent(QMouseEvent* e); virtual void mousePressEvent(QMouseEvent* e); virtual void mouseReleaseEvent(QMouseEvent* e); virtual void moveEvent(QMoveEvent* arg__1); virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); virtual QPaintEngine* paintEngine() const; virtual void paintEvent(QPaintEvent* e); virtual QPaintDevice* redirected(QPoint* offset) const; virtual void resizeEvent(QResizeEvent* e); virtual void scrollContentsBy(int dx, int dy); virtual void setupViewport(QWidget* viewport); virtual QPainter* sharedPainter() const; virtual void showEvent(QShowEvent* arg__1); virtual void tabletEvent(QTabletEvent* arg__1); virtual void timerEvent(QTimerEvent* e); virtual bool viewportEvent(QEvent* arg__1); virtual QSize viewportSizeHint() const; virtual void wheelEvent(QWheelEvent* e); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTextEdit : public QTextEdit { public: inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } inline void promoted_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } inline QMimeData* promoted_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } inline void promoted_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } inline void promoted_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } inline bool promoted_event(QEvent* e) { return QTextEdit::event(e); } inline void promoted_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } inline bool promoted_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } inline void promoted_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } inline void promoted_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } inline void promoted_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } inline void promoted_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } inline void promoted_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } inline void promoted_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } inline void promoted_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } inline void promoted_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } inline void promoted_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } inline void promoted_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } inline void promoted_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } inline void promoted_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(e); } }; class PythonQtWrapper_QTextEdit : public QObject { Q_OBJECT public: Q_ENUMS(AutoFormattingFlag ) Q_FLAGS(AutoFormatting ) enum AutoFormattingFlag{ AutoNone = QTextEdit::AutoNone, AutoBulletList = QTextEdit::AutoBulletList, AutoAll = QTextEdit::AutoAll}; Q_DECLARE_FLAGS(AutoFormatting, AutoFormattingFlag) public slots: QTextEdit* new_QTextEdit(QWidget* parent = 0); QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = 0); void delete_QTextEdit(QTextEdit* obj) { delete obj; } bool acceptRichText(QTextEdit* theWrappedObject) const; Qt::Alignment alignment(QTextEdit* theWrappedObject) const; QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const; bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const; bool canPaste(QTextEdit* theWrappedObject) const; void changeEvent(QTextEdit* theWrappedObject, QEvent* e); void contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e); QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; QMenu* createStandardContextMenu(QTextEdit* theWrappedObject); QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position); QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const; QFont currentFont(QTextEdit* theWrappedObject) const; QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const; QRect cursorRect(QTextEdit* theWrappedObject) const; QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const; int cursorWidth(QTextEdit* theWrappedObject) const; void doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); QTextDocument* document(QTextEdit* theWrappedObject) const; QString documentTitle(QTextEdit* theWrappedObject) const; void dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e); void dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e); void dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e); void dropEvent(QTextEdit* theWrappedObject, QDropEvent* e); void ensureCursorVisible(QTextEdit* theWrappedObject); bool event(QTextEdit* theWrappedObject, QEvent* e); QList extraSelections(QTextEdit* theWrappedObject) const; bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0); void focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e); bool focusNextPrevChild(QTextEdit* theWrappedObject, bool next); void focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e); QString fontFamily(QTextEdit* theWrappedObject) const; bool fontItalic(QTextEdit* theWrappedObject) const; qreal fontPointSize(QTextEdit* theWrappedObject) const; bool fontUnderline(QTextEdit* theWrappedObject) const; int fontWeight(QTextEdit* theWrappedObject) const; void inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1); QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const; void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); bool isReadOnly(QTextEdit* theWrappedObject) const; bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; void keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e); void keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e); int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); void mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e); void mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e); void mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e); void mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e); void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); bool overwriteMode(QTextEdit* theWrappedObject) const; void paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e); void resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e); void scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy); void setAcceptRichText(QTextEdit* theWrappedObject, bool accept); void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features); void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format); void setCursorWidth(QTextEdit* theWrappedObject, int width); void setDocument(QTextEdit* theWrappedObject, QTextDocument* document); void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title); void setExtraSelections(QTextEdit* theWrappedObject, const QList& selections); void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w); void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode); void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite); void setReadOnly(QTextEdit* theWrappedObject, bool ro); void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); void setTabStopWidth(QTextEdit* theWrappedObject, int width); void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable); void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy); void showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1); bool tabChangesFocus(QTextEdit* theWrappedObject) const; int tabStopWidth(QTextEdit* theWrappedObject) const; QColor textBackgroundColor(QTextEdit* theWrappedObject) const; QColor textColor(QTextEdit* theWrappedObject) const; QTextCursor textCursor(QTextEdit* theWrappedObject) const; Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const; void timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e); QString toHtml(QTextEdit* theWrappedObject) const; QString toPlainText(QTextEdit* theWrappedObject) const; void wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e); QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; }; class PythonQtShell_QTextEdit_ExtraSelection : public QTextEdit::ExtraSelection { public: PythonQtShell_QTextEdit_ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(NULL) {}; ~PythonQtShell_QTextEdit_ExtraSelection(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextEdit_ExtraSelection : public QObject { Q_OBJECT public: public slots: QTextEdit::ExtraSelection* new_QTextEdit_ExtraSelection(); QTextEdit::ExtraSelection* new_QTextEdit_ExtraSelection(const QTextEdit::ExtraSelection& other) { PythonQtShell_QTextEdit_ExtraSelection* a = new PythonQtShell_QTextEdit_ExtraSelection(); *((QTextEdit::ExtraSelection*)a) = other; return a; } void delete_QTextEdit_ExtraSelection(QTextEdit::ExtraSelection* obj) { delete obj; } void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } void py_set_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } }; class PythonQtWrapper_QTextFragment : public QObject { Q_OBJECT public: public slots: QTextFragment* new_QTextFragment(); QTextFragment* new_QTextFragment(const QTextFragment& o); void delete_QTextFragment(QTextFragment* obj) { delete obj; } QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; int charFormatIndex(QTextFragment* theWrappedObject) const; bool contains(QTextFragment* theWrappedObject, int position) const; bool isValid(QTextFragment* theWrappedObject) const; int length(QTextFragment* theWrappedObject) const; bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const; bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const; bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const; int position(QTextFragment* theWrappedObject) const; QString text(QTextFragment* theWrappedObject) const; }; class PythonQtShell_QTextFrame : public QTextFrame { public: PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; ~PythonQtShell_QTextFrame(); virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrame : public QObject { Q_OBJECT public: public slots: QTextFrame* new_QTextFrame(QTextDocument* doc); void delete_QTextFrame(QTextFrame* obj) { delete obj; } QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; QList childFrames(QTextFrame* theWrappedObject) const; QTextFrame::iterator end(QTextFrame* theWrappedObject) const; QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; int firstPosition(QTextFrame* theWrappedObject) const; QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; int lastPosition(QTextFrame* theWrappedObject) const; QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); }; class PythonQtShell_QTextFrameFormat : public QTextFrameFormat { public: PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {}; PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; ~PythonQtShell_QTextFrameFormat(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextFrameFormat : public QObject { Q_OBJECT public: Q_ENUMS(BorderStyle Position ) enum BorderStyle{ BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; enum Position{ InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; public slots: QTextFrameFormat* new_QTextFrameFormat(); QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); *((QTextFrameFormat*)a) = other; return a; } void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } qreal border(QTextFrameFormat* theWrappedObject) const; QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; QTextLength height(QTextFrameFormat* theWrappedObject) const; bool isValid(QTextFrameFormat* theWrappedObject) const; qreal leftMargin(QTextFrameFormat* theWrappedObject) const; qreal margin(QTextFrameFormat* theWrappedObject) const; qreal padding(QTextFrameFormat* theWrappedObject) const; QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; qreal rightMargin(QTextFrameFormat* theWrappedObject) const; void setBorder(QTextFrameFormat* theWrappedObject, qreal border); void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); void setHeight(QTextFrameFormat* theWrappedObject, qreal height); void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); void setWidth(QTextFrameFormat* theWrappedObject, qreal width); qreal topMargin(QTextFrameFormat* theWrappedObject) const; QTextLength width(QTextFrameFormat* theWrappedObject) const; }; class PythonQtShell_QTextImageFormat : public QTextImageFormat { public: PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; ~PythonQtShell_QTextImageFormat(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextImageFormat : public QObject { Q_OBJECT public: public slots: QTextImageFormat* new_QTextImageFormat(); QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); *((QTextImageFormat*)a) = other; return a; } void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } qreal height(QTextImageFormat* theWrappedObject) const; bool isValid(QTextImageFormat* theWrappedObject) const; QString name(QTextImageFormat* theWrappedObject) const; void setHeight(QTextImageFormat* theWrappedObject, qreal height); void setName(QTextImageFormat* theWrappedObject, const QString& name); void setWidth(QTextImageFormat* theWrappedObject, qreal width); qreal width(QTextImageFormat* theWrappedObject) const; }; class PythonQtWrapper_QTextInlineObject : public QObject { Q_OBJECT public: public slots: QTextInlineObject* new_QTextInlineObject(); QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) { QTextInlineObject* a = new QTextInlineObject(); *((QTextInlineObject*)a) = other; return a; } void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } qreal ascent(QTextInlineObject* theWrappedObject) const; qreal descent(QTextInlineObject* theWrappedObject) const; QTextFormat format(QTextInlineObject* theWrappedObject) const; int formatIndex(QTextInlineObject* theWrappedObject) const; qreal height(QTextInlineObject* theWrappedObject) const; bool isValid(QTextInlineObject* theWrappedObject) const; QRectF rect(QTextInlineObject* theWrappedObject) const; void setAscent(QTextInlineObject* theWrappedObject, qreal a); void setDescent(QTextInlineObject* theWrappedObject, qreal d); void setWidth(QTextInlineObject* theWrappedObject, qreal w); Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; int textPosition(QTextInlineObject* theWrappedObject) const; qreal width(QTextInlineObject* theWrappedObject) const; }; class PythonQtShell_QTextItem : public QTextItem { public: PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; ~PythonQtShell_QTextItem(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextItem : public QObject { Q_OBJECT public: Q_ENUMS(RenderFlag ) Q_FLAGS(RenderFlags ) enum RenderFlag{ RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy}; Q_DECLARE_FLAGS(RenderFlags, RenderFlag) public slots: QTextItem* new_QTextItem(); void delete_QTextItem(QTextItem* obj) { delete obj; } qreal ascent(QTextItem* theWrappedObject) const; qreal descent(QTextItem* theWrappedObject) const; QFont font(QTextItem* theWrappedObject) const; QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const; QString text(QTextItem* theWrappedObject) const; qreal width(QTextItem* theWrappedObject) const; }; class PythonQtWrapper_QTextLine : public QObject { Q_OBJECT public: Q_ENUMS(CursorPosition Edge ) enum CursorPosition{ CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; enum Edge{ Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; public slots: QTextLine* new_QTextLine(); QTextLine* new_QTextLine(const QTextLine& other) { QTextLine* a = new QTextLine(); *((QTextLine*)a) = other; return a; } void delete_QTextLine(QTextLine* obj) { delete obj; } qreal ascent(QTextLine* theWrappedObject) const; qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; qreal descent(QTextLine* theWrappedObject) const; void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const; qreal height(QTextLine* theWrappedObject) const; qreal horizontalAdvance(QTextLine* theWrappedObject) const; bool isValid(QTextLine* theWrappedObject) const; qreal leading(QTextLine* theWrappedObject) const; bool leadingIncluded(QTextLine* theWrappedObject) const; int lineNumber(QTextLine* theWrappedObject) const; QRectF naturalTextRect(QTextLine* theWrappedObject) const; qreal naturalTextWidth(QTextLine* theWrappedObject) const; QPointF position(QTextLine* theWrappedObject) const; QRectF rect(QTextLine* theWrappedObject) const; void setLeadingIncluded(QTextLine* theWrappedObject, bool included); void setLineWidth(QTextLine* theWrappedObject, qreal width); void setNumColumns(QTextLine* theWrappedObject, int columns); void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth); void setPosition(QTextLine* theWrappedObject, const QPointF& pos); int textLength(QTextLine* theWrappedObject) const; int textStart(QTextLine* theWrappedObject) const; qreal width(QTextLine* theWrappedObject) const; qreal x(QTextLine* theWrappedObject) const; int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const; qreal y(QTextLine* theWrappedObject) const; }; class PythonQtShell_QTextList : public QTextList { public: PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; ~PythonQtShell_QTextList(); virtual void blockFormatChanged(const QTextBlock& block); virtual void blockInserted(const QTextBlock& block); virtual void blockRemoved(const QTextBlock& block); virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextList : public QObject { Q_OBJECT public: public slots: QTextList* new_QTextList(QTextDocument* doc); void delete_QTextList(QTextList* obj) { delete obj; } void add(QTextList* theWrappedObject, const QTextBlock& block); int count(QTextList* theWrappedObject) const; QTextListFormat format(QTextList* theWrappedObject) const; QTextBlock item(QTextList* theWrappedObject, int i) const; int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const; QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const; void remove(QTextList* theWrappedObject, const QTextBlock& arg__1); void removeItem(QTextList* theWrappedObject, int i); void setFormat(QTextList* theWrappedObject, const QTextListFormat& format); }; class PythonQtShell_QTextListFormat : public QTextListFormat { public: PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; ~PythonQtShell_QTextListFormat(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextListFormat : public QObject { Q_OBJECT public: Q_ENUMS(Style ) enum Style{ ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListLowerRoman = QTextListFormat::ListLowerRoman, ListUpperRoman = QTextListFormat::ListUpperRoman, ListStyleUndefined = QTextListFormat::ListStyleUndefined}; public slots: QTextListFormat* new_QTextListFormat(); QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); *((QTextListFormat*)a) = other; return a; } void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } int indent(QTextListFormat* theWrappedObject) const; bool isValid(QTextListFormat* theWrappedObject) const; QString numberPrefix(QTextListFormat* theWrappedObject) const; QString numberSuffix(QTextListFormat* theWrappedObject) const; void setIndent(QTextListFormat* theWrappedObject, int indent); void setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix); void setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix); void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; }; class PythonQtShell_QTextObject : public QTextObject { public: PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; ~PythonQtShell_QTextObject(); virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextObject : public QObject { Q_OBJECT public: public slots: QTextDocument* document(QTextObject* theWrappedObject) const; QTextFormat format(QTextObject* theWrappedObject) const; int formatIndex(QTextObject* theWrappedObject) const; int objectIndex(QTextObject* theWrappedObject) const; }; class PythonQtShell_QTextTable : public QTextTable { public: PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; ~PythonQtShell_QTextTable(); virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTable : public QObject { Q_OBJECT public: public slots: QTextTable* new_QTextTable(QTextDocument* doc); void delete_QTextTable(QTextTable* obj) { delete obj; } void appendColumns(QTextTable* theWrappedObject, int count); void appendRows(QTextTable* theWrappedObject, int count); QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const; QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const; int columns(QTextTable* theWrappedObject) const; QTextTableFormat format(QTextTable* theWrappedObject) const; void insertColumns(QTextTable* theWrappedObject, int pos, int num); void insertRows(QTextTable* theWrappedObject, int pos, int num); void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor); void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); void removeColumns(QTextTable* theWrappedObject, int pos, int num); void removeRows(QTextTable* theWrappedObject, int pos, int num); void resize(QTextTable* theWrappedObject, int rows, int cols); QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const; QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const; int rows(QTextTable* theWrappedObject) const; void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format); void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); }; class PythonQtWrapper_QTextTableCell : public QObject { Q_OBJECT public: public slots: QTextTableCell* new_QTextTableCell(); QTextTableCell* new_QTextTableCell(const QTextTableCell& o); void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; int column(QTextTableCell* theWrappedObject) const; int columnSpan(QTextTableCell* theWrappedObject) const; QTextFrame::iterator end(QTextTableCell* theWrappedObject) const; QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const; int firstPosition(QTextTableCell* theWrappedObject) const; QTextCharFormat format(QTextTableCell* theWrappedObject) const; bool isValid(QTextTableCell* theWrappedObject) const; QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const; int lastPosition(QTextTableCell* theWrappedObject) const; bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; int row(QTextTableCell* theWrappedObject) const; int rowSpan(QTextTableCell* theWrappedObject) const; void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format); int tableCellFormatIndex(QTextTableCell* theWrappedObject) const; }; class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat { public: PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; ~PythonQtShell_QTextTableCellFormat(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableCellFormat : public QObject { Q_OBJECT public: public slots: QTextTableCellFormat* new_QTextTableCellFormat(); QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) { PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); *((QTextTableCellFormat*)a) = other; return a; } void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; bool isValid(QTextTableCellFormat* theWrappedObject) const; qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; qreal rightPadding(QTextTableCellFormat* theWrappedObject) const; void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); qreal topPadding(QTextTableCellFormat* theWrappedObject) const; }; class PythonQtShell_QTextTableFormat : public QTextTableFormat { public: PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; ~PythonQtShell_QTextTableFormat(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTextTableFormat : public QObject { Q_OBJECT public: public slots: QTextTableFormat* new_QTextTableFormat(); QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); *((QTextTableFormat*)a) = other; return a; } void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; qreal cellPadding(QTextTableFormat* theWrappedObject) const; qreal cellSpacing(QTextTableFormat* theWrappedObject) const; void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject); QVector columnWidthConstraints(QTextTableFormat* theWrappedObject) const; int columns(QTextTableFormat* theWrappedObject) const; int headerRowCount(QTextTableFormat* theWrappedObject) const; bool isValid(QTextTableFormat* theWrappedObject) const; void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment); void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints); void setColumns(QTextTableFormat* theWrappedObject, int columns); void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); }; class PythonQtShell_QTileRules : public QTileRules { public: PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {}; PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {}; ~PythonQtShell_QTileRules(); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTileRules : public QObject { Q_OBJECT public: public slots: QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule); QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile); void delete_QTileRules(QTileRules* obj) { delete obj; } void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } }; class PythonQtShell_QTimeEdit : public QTimeEdit { public: PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {}; PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {}; ~PythonQtShell_QTimeEdit(); virtual void actionEvent(QActionEvent* arg__1); virtual void changeEvent(QEvent* event); virtual void childEvent(QChildEvent* arg__1); virtual void clear(); virtual void closeEvent(QCloseEvent* event); virtual void contextMenuEvent(QContextMenuEvent* event); virtual void customEvent(QEvent* arg__1); virtual QDateTime dateTimeFromText(const QString& text) const; virtual int devType() const; virtual void dragEnterEvent(QDragEnterEvent* arg__1); virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); virtual void dragMoveEvent(QDragMoveEvent* arg__1); virtual void dropEvent(QDropEvent* arg__1); virtual void enterEvent(QEvent* arg__1); virtual bool event(QEvent* event); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void fixup(QString& input) const; virtual void focusInEvent(QFocusEvent* event); virtual bool focusNextPrevChild(bool next); virtual void focusOutEvent(QFocusEvent* event); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int arg__1) const; virtual void hideEvent(QHideEvent* event); virtual void initPainter(QPainter* painter) const; virtual void inputMethodEvent(QInputMethodEvent* arg__1); virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; virtual void keyPressEvent(QKeyEvent* event); virtual void keyReleaseEvent(QKeyEvent* event); virtual void leaveEvent(QEvent* arg__1); virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); virtual void mouseMoveEvent(QMouseEvent* event); virtual void mousePressEvent(QMouseEvent* event); virtual void mouseReleaseEvent(QMouseEvent* event); virtual void moveEvent(QMoveEvent* arg__1); virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); virtual QPaintEngine* paintEngine() const; virtual void paintEvent(QPaintEvent* event); virtual QPaintDevice* redirected(QPoint* offset) const; virtual void resizeEvent(QResizeEvent* event); virtual QPainter* sharedPainter() const; virtual void showEvent(QShowEvent* event); virtual void stepBy(int steps); virtual QAbstractSpinBox::StepEnabled stepEnabled() const; virtual void tabletEvent(QTabletEvent* arg__1); virtual QString textFromDateTime(const QDateTime& dt) const; virtual void timerEvent(QTimerEvent* event); virtual QValidator::State validate(QString& input, int& pos) const; virtual void wheelEvent(QWheelEvent* event); PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QTimeEdit : public QObject { Q_OBJECT public: public slots: QTimeEdit* new_QTimeEdit(QWidget* parent = 0); QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0); void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } }; class PythonQtShell_QToolBar : public QToolBar { public: PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {}; PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {}; ~PythonQtShell_QToolBar(); virtual void actionEvent(QActionEvent* event); virtual void changeEvent(QEvent* event); virtual void childEvent(QChildEvent* arg__1); virtual void closeEvent(QCloseEvent* arg__1); virtual void contextMenuEvent(QContextMenuEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual int devType() const; virtual void dragEnterEvent(QDragEnterEvent* arg__1); virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); virtual void dragMoveEvent(QDragMoveEvent* arg__1); virtual void dropEvent(QDropEvent* arg__1); virtual void enterEvent(QEvent* arg__1); virtual bool event(QEvent* event); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void focusInEvent(QFocusEvent* arg__1); virtual bool focusNextPrevChild(bool next); virtual void focusOutEvent(QFocusEvent* arg__1); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int arg__1) const; virtual void hideEvent(QHideEvent* arg__1); virtual void initPainter(QPainter* painter) const; virtual void inputMethodEvent(QInputMethodEvent* arg__1); virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; virtual void keyPressEvent(QKeyEvent* arg__1); virtual void keyReleaseEvent(QKeyEvent* arg__1); virtual void leaveEvent(QEvent* arg__1); virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; virtual QSize minimumSizeHint() const; virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); virtual void mouseMoveEvent(QMouseEvent* arg__1); virtual void mousePressEvent(QMouseEvent* arg__1); virtual void mouseReleaseEvent(QMouseEvent* arg__1); virtual void moveEvent(QMoveEvent* arg__1); virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); virtual QPaintEngine* paintEngine() const; virtual void paintEvent(QPaintEvent* event); virtual QPaintDevice* redirected(QPoint* offset) const; virtual void resizeEvent(QResizeEvent* arg__1); virtual QPainter* sharedPainter() const; virtual void showEvent(QShowEvent* arg__1); virtual QSize sizeHint() const; virtual void tabletEvent(QTabletEvent* arg__1); virtual void timerEvent(QTimerEvent* arg__1); virtual void wheelEvent(QWheelEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBar : public QToolBar { public: inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } inline bool promoted_event(QEvent* event) { return QToolBar::event(event); } inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } }; class PythonQtWrapper_QToolBar : public QObject { Q_OBJECT public: public slots: QToolBar* new_QToolBar(QWidget* parent = 0); QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0); void delete_QToolBar(QToolBar* obj) { delete obj; } QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; void actionEvent(QToolBar* theWrappedObject, QActionEvent* event); QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); QAction* addAction(QToolBar* theWrappedObject, const QString& text); QAction* addSeparator(QToolBar* theWrappedObject); QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; void changeEvent(QToolBar* theWrappedObject, QEvent* event); void clear(QToolBar* theWrappedObject); bool event(QToolBar* theWrappedObject, QEvent* event); QSize iconSize(QToolBar* theWrappedObject) const; QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; bool isFloatable(QToolBar* theWrappedObject) const; bool isFloating(QToolBar* theWrappedObject) const; bool isMovable(QToolBar* theWrappedObject) const; Qt::Orientation orientation(QToolBar* theWrappedObject) const; void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event); void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas); void setFloatable(QToolBar* theWrappedObject, bool floatable); void setMovable(QToolBar* theWrappedObject, bool movable); void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation); QAction* toggleViewAction(QToolBar* theWrappedObject) const; Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const; QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const; QAction* addAction (QToolBar* menu, const QString & text, PyObject* callable) { QAction* a = menu->addAction(text); PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); return a; } QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable) { QAction* a = menu->addAction(text); a->setIcon(icon); PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); return a; } }; class PythonQtWrapper_QToolBarChangeEvent : public QObject { Q_OBJECT public: public slots: QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } bool toggle(QToolBarChangeEvent* theWrappedObject) const; }; class PythonQtShell_QToolBox : public QToolBox { public: PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {}; ~PythonQtShell_QToolBox(); virtual void actionEvent(QActionEvent* arg__1); virtual void changeEvent(QEvent* arg__1); virtual void childEvent(QChildEvent* arg__1); virtual void closeEvent(QCloseEvent* arg__1); virtual void contextMenuEvent(QContextMenuEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual int devType() const; virtual void dragEnterEvent(QDragEnterEvent* arg__1); virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); virtual void dragMoveEvent(QDragMoveEvent* arg__1); virtual void dropEvent(QDropEvent* arg__1); virtual void enterEvent(QEvent* arg__1); virtual bool event(QEvent* e); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void focusInEvent(QFocusEvent* arg__1); virtual bool focusNextPrevChild(bool next); virtual void focusOutEvent(QFocusEvent* arg__1); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int arg__1) const; virtual void hideEvent(QHideEvent* arg__1); virtual void initPainter(QPainter* painter) const; virtual void inputMethodEvent(QInputMethodEvent* arg__1); virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; virtual void itemInserted(int index); virtual void itemRemoved(int index); virtual void keyPressEvent(QKeyEvent* arg__1); virtual void keyReleaseEvent(QKeyEvent* arg__1); virtual void leaveEvent(QEvent* arg__1); virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; virtual QSize minimumSizeHint() const; virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); virtual void mouseMoveEvent(QMouseEvent* arg__1); virtual void mousePressEvent(QMouseEvent* arg__1); virtual void mouseReleaseEvent(QMouseEvent* arg__1); virtual void moveEvent(QMoveEvent* arg__1); virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); virtual QPaintEngine* paintEngine() const; virtual void paintEvent(QPaintEvent* arg__1); virtual QPaintDevice* redirected(QPoint* offset) const; virtual void resizeEvent(QResizeEvent* arg__1); virtual QPainter* sharedPainter() const; virtual void showEvent(QShowEvent* e); virtual void tabletEvent(QTabletEvent* arg__1); virtual void timerEvent(QTimerEvent* arg__1); virtual void wheelEvent(QWheelEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolBox : public QToolBox { public: inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } inline bool promoted_event(QEvent* e) { return QToolBox::event(e); } inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); } inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); } inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } }; class PythonQtWrapper_QToolBox : public QObject { Q_OBJECT public: public slots: QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0); void delete_QToolBox(QToolBox* obj) { delete obj; } int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text); int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text); void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1); int count(QToolBox* theWrappedObject) const; int currentIndex(QToolBox* theWrappedObject) const; QWidget* currentWidget(QToolBox* theWrappedObject) const; bool event(QToolBox* theWrappedObject, QEvent* e); int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text); int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text); bool isItemEnabled(QToolBox* theWrappedObject, int index) const; QIcon itemIcon(QToolBox* theWrappedObject, int index) const; void itemInserted(QToolBox* theWrappedObject, int index); void itemRemoved(QToolBox* theWrappedObject, int index); QString itemText(QToolBox* theWrappedObject, int index) const; QString itemToolTip(QToolBox* theWrappedObject, int index) const; void removeItem(QToolBox* theWrappedObject, int index); void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon); void setItemText(QToolBox* theWrappedObject, int index, const QString& text); void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip); void showEvent(QToolBox* theWrappedObject, QShowEvent* e); QWidget* widget(QToolBox* theWrappedObject, int index) const; }; class PythonQtShell_QToolButton : public QToolButton { public: PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {}; ~PythonQtShell_QToolButton(); virtual void actionEvent(QActionEvent* arg__1); virtual void changeEvent(QEvent* arg__1); virtual void checkStateSet(); virtual void childEvent(QChildEvent* arg__1); virtual void closeEvent(QCloseEvent* arg__1); virtual void contextMenuEvent(QContextMenuEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual int devType() const; virtual void dragEnterEvent(QDragEnterEvent* arg__1); virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); virtual void dragMoveEvent(QDragMoveEvent* arg__1); virtual void dropEvent(QDropEvent* arg__1); virtual void enterEvent(QEvent* arg__1); virtual bool event(QEvent* e); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void focusInEvent(QFocusEvent* e); virtual bool focusNextPrevChild(bool next); virtual void focusOutEvent(QFocusEvent* e); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int arg__1) const; virtual void hideEvent(QHideEvent* arg__1); virtual bool hitButton(const QPoint& pos) const; virtual void initPainter(QPainter* painter) const; virtual void inputMethodEvent(QInputMethodEvent* arg__1); virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; virtual void keyPressEvent(QKeyEvent* e); virtual void keyReleaseEvent(QKeyEvent* e); virtual void leaveEvent(QEvent* arg__1); virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); virtual void mouseMoveEvent(QMouseEvent* e); virtual void mousePressEvent(QMouseEvent* arg__1); virtual void mouseReleaseEvent(QMouseEvent* arg__1); virtual void moveEvent(QMoveEvent* arg__1); virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); virtual void nextCheckState(); virtual QPaintEngine* paintEngine() const; virtual void paintEvent(QPaintEvent* arg__1); virtual QPaintDevice* redirected(QPoint* offset) const; virtual void resizeEvent(QResizeEvent* arg__1); virtual QPainter* sharedPainter() const; virtual void showEvent(QShowEvent* arg__1); virtual void tabletEvent(QTabletEvent* arg__1); virtual void timerEvent(QTimerEvent* arg__1); virtual void wheelEvent(QWheelEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QToolButton : public QToolButton { public: inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } inline bool promoted_event(QEvent* e) { return QToolButton::event(e); } inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } inline void promoted_nextCheckState() { QToolButton::nextCheckState(); } inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } }; class PythonQtWrapper_QToolButton : public QObject { Q_OBJECT public: public slots: QToolButton* new_QToolButton(QWidget* parent = 0); void delete_QToolButton(QToolButton* obj) { delete obj; } void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1); Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; bool autoRaise(QToolButton* theWrappedObject) const; void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1); QAction* defaultAction(QToolButton* theWrappedObject) const; void enterEvent(QToolButton* theWrappedObject, QEvent* arg__1); bool event(QToolButton* theWrappedObject, QEvent* e); bool hitButton(QToolButton* theWrappedObject, const QPoint& pos) const; void leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1); QMenu* menu(QToolButton* theWrappedObject) const; QSize minimumSizeHint(QToolButton* theWrappedObject) const; void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); void nextCheckState(QToolButton* theWrappedObject); void paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1); QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const; void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type); void setAutoRaise(QToolButton* theWrappedObject, bool enable); void setMenu(QToolButton* theWrappedObject, QMenu* menu); void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); QSize sizeHint(QToolButton* theWrappedObject) const; void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1); Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; }; class PythonQtWrapper_QToolTip : public QObject { Q_OBJECT public: public slots: void delete_QToolTip(QToolTip* obj) { delete obj; } QFont static_QToolTip_font(); void static_QToolTip_hideText(); bool static_QToolTip_isVisible(); QPalette static_QToolTip_palette(); void static_QToolTip_setFont(const QFont& arg__1); void static_QToolTip_setPalette(const QPalette& arg__1); void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w = 0); void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); QString static_QToolTip_text(); }; class PythonQtWrapper_QTouchEvent : public QObject { Q_OBJECT public: public slots: void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); QObject* target(QTouchEvent* theWrappedObject) const; Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; const QList* touchPoints(QTouchEvent* theWrappedObject) const; }; class PythonQtWrapper_QTouchEvent_TouchPoint : public QObject { Q_OBJECT public: public slots: QTouchEvent::TouchPoint* new_QTouchEvent_TouchPoint(const QTouchEvent::TouchPoint& other); QTouchEvent::TouchPoint* new_QTouchEvent_TouchPoint(int id = -1); void delete_QTouchEvent_TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; } int id(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF lastPos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; QTouchEvent::TouchPoint* operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other); QPointF pos(QTouchEvent::TouchPoint* theWrappedObject) const; qreal pressure(QTouchEvent::TouchPoint* theWrappedObject) const; QVector rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const; QRectF rect(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF scenePos(QTouchEvent::TouchPoint* theWrappedObject) const; QRectF sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF screenPos(QTouchEvent::TouchPoint* theWrappedObject) const; QRectF screenRect(QTouchEvent::TouchPoint* theWrappedObject) const; void setId(QTouchEvent::TouchPoint* theWrappedObject, int id); void setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos); void setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos); void setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos); void setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos); void setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos); void setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos); void setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure); void setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions); void setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect); void setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos); void setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect); void setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos); void setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect); void setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos); void setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos); void setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos); void setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos); void setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state); void setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v); QPointF startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF startPos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; QPointF startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; Qt::TouchPointState state(QTouchEvent::TouchPoint* theWrappedObject) const; void swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other); QVector2D velocity(QTouchEvent::TouchPoint* theWrappedObject) const; }; class PythonQtWrapper_QTransform : public QObject { Q_OBJECT public: Q_ENUMS(TransformationType ) enum TransformationType{ TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject}; public slots: QTransform* new_QTransform(); QTransform* new_QTransform(const QMatrix& mtx); QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); QTransform* new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy); QTransform* new_QTransform(const QTransform& other) { QTransform* a = new QTransform(); *((QTransform*)a) = other; return a; } void delete_QTransform(QTransform* obj) { delete obj; } QTransform adjoint(QTransform* theWrappedObject) const; qreal det(QTransform* theWrappedObject) const; qreal determinant(QTransform* theWrappedObject) const; qreal dx(QTransform* theWrappedObject) const; qreal dy(QTransform* theWrappedObject) const; QTransform static_QTransform_fromScale(qreal dx, qreal dy); QTransform static_QTransform_fromTranslate(qreal dx, qreal dy); QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const; bool isAffine(QTransform* theWrappedObject) const; bool isIdentity(QTransform* theWrappedObject) const; bool isInvertible(QTransform* theWrappedObject) const; bool isRotating(QTransform* theWrappedObject) const; bool isScaling(QTransform* theWrappedObject) const; bool isTranslating(QTransform* theWrappedObject) const; qreal m11(QTransform* theWrappedObject) const; qreal m12(QTransform* theWrappedObject) const; qreal m13(QTransform* theWrappedObject) const; qreal m21(QTransform* theWrappedObject) const; qreal m22(QTransform* theWrappedObject) const; qreal m23(QTransform* theWrappedObject) const; qreal m31(QTransform* theWrappedObject) const; qreal m32(QTransform* theWrappedObject) const; qreal m33(QTransform* theWrappedObject) const; QLine map(QTransform* theWrappedObject, const QLine& l) const; QLineF map(QTransform* theWrappedObject, const QLineF& l) const; QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; QPoint map(QTransform* theWrappedObject, const QPoint& p) const; QPointF map(QTransform* theWrappedObject, const QPointF& p) const; QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; QRegion map(QTransform* theWrappedObject, const QRegion& r) const; QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; bool __ne__(QTransform* theWrappedObject, const QTransform& arg__1) const; QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; QTransform __mul__(QTransform* theWrappedObject, qreal n); QTransform* __imul__(QTransform* theWrappedObject, const QTransform& arg__1); QTransform* __imul__(QTransform* theWrappedObject, qreal div); QTransform __add__(QTransform* theWrappedObject, qreal n); QTransform* __iadd__(QTransform* theWrappedObject, qreal div); QTransform __sub__(QTransform* theWrappedObject, qreal n); QTransform* __isub__(QTransform* theWrappedObject, qreal div); QTransform __div__(QTransform* theWrappedObject, qreal n); QTransform* __idiv__(QTransform* theWrappedObject, qreal div); bool __eq__(QTransform* theWrappedObject, const QTransform& arg__1) const; bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); void reset(QTransform* theWrappedObject); QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy); void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv); bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); const QMatrix* toAffine(QTransform* theWrappedObject) const; QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy); QTransform transposed(QTransform* theWrappedObject) const; QTransform::TransformationType type(QTransform* theWrappedObject) const; QString py_toString(QTransform*); }; class PythonQtShell_QTreeView : public QTreeView { public: PythonQtShell_QTreeView(QWidget* parent = 0):QTreeView(parent),_wrapper(NULL) {}; ~PythonQtShell_QTreeView(); virtual void actionEvent(QActionEvent* arg__1); virtual void changeEvent(QEvent* arg__1); virtual void childEvent(QChildEvent* arg__1); virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); virtual void closeEvent(QCloseEvent* arg__1); virtual void commitData(QWidget* editor); virtual void contextMenuEvent(QContextMenuEvent* arg__1); virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); virtual void customEvent(QEvent* arg__1); virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); virtual int devType() const; virtual void doItemsLayout(); virtual void dragEnterEvent(QDragEnterEvent* event); virtual void dragLeaveEvent(QDragLeaveEvent* event); virtual void dragMoveEvent(QDragMoveEvent* event); virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; virtual void dropEvent(QDropEvent* event); virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); virtual void editorDestroyed(QObject* editor); virtual void enterEvent(QEvent* arg__1); virtual bool event(QEvent* event); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void focusInEvent(QFocusEvent* event); virtual bool focusNextPrevChild(bool next); virtual void focusOutEvent(QFocusEvent* event); virtual bool hasHeightForWidth() const; virtual int heightForWidth(int arg__1) const; virtual void hideEvent(QHideEvent* arg__1); virtual int horizontalOffset() const; virtual void horizontalScrollbarAction(int action); virtual void horizontalScrollbarValueChanged(int value); virtual QModelIndex indexAt(const QPoint& p) const; virtual void initPainter(QPainter* painter) const; virtual void inputMethodEvent(QInputMethodEvent* event); virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; virtual bool isIndexHidden(const QModelIndex& index) const; virtual void keyPressEvent(QKeyEvent* event); virtual void keyReleaseEvent(QKeyEvent* arg__1); virtual void keyboardSearch(const QString& search); virtual void leaveEvent(QEvent* arg__1); virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; virtual void mouseDoubleClickEvent(QMouseEvent* event); virtual void mouseMoveEvent(QMouseEvent* event); virtual void mousePressEvent(QMouseEvent* event); virtual void mouseReleaseEvent(QMouseEvent* event); virtual void moveEvent(QMoveEvent* arg__1); virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result); virtual QPaintEngine* paintEngine() const; virtual void paintEvent(QPaintEvent* event); virtual QPaintDevice* redirected(QPoint* offset) const; virtual void reset(); virtual void resizeEvent(QResizeEvent* event); virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); virtual void rowsInserted(const QModelIndex& parent, int start, int end); virtual void scrollContentsBy(int dx, int dy); virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); virtual void selectAll(); virtual QList selectedIndexes() const; virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; virtual void setModel(QAbstractItemModel* model); virtual void setRootIndex(const QModelIndex& index); virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); virtual void setSelectionModel(QItemSelectionModel* selectionModel); virtual void setupViewport(QWidget* viewport); virtual QPainter* sharedPainter() const; virtual void showEvent(QShowEvent* arg__1); virtual int sizeHintForColumn(int column) const; virtual int sizeHintForRow(int row) const; virtual void startDrag(Qt::DropActions supportedActions); virtual void tabletEvent(QTabletEvent* arg__1); virtual void timerEvent(QTimerEvent* event); virtual void updateEditorData(); virtual void updateEditorGeometries(); virtual void updateGeometries(); virtual int verticalOffset() const; virtual void verticalScrollbarAction(int action); virtual void verticalScrollbarValueChanged(int value); virtual QStyleOptionViewItem viewOptions() const; virtual bool viewportEvent(QEvent* event); virtual QSize viewportSizeHint() const; virtual QRect visualRect(const QModelIndex& index) const; virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; virtual void wheelEvent(QWheelEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QTreeView : public QTreeView { public: inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QTreeView::dataChanged(topLeft, bottomRight, roles); } inline void promoted_doItemsLayout() { QTreeView::doItemsLayout(); } inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } inline int promoted_horizontalOffset() const { return QTreeView::horizontalOffset(); } inline void promoted_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } inline void promoted_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } inline void promoted_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } inline void promoted_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } inline void promoted_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } inline void promoted_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } inline void promoted_reset() { QTreeView::reset(); } inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } inline void promoted_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } inline void promoted_selectAll() { QTreeView::selectAll(); } inline QList promoted_selectedIndexes() const { return QTreeView::selectedIndexes(); } inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } inline void promoted_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } inline void promoted_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } inline int promoted_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } inline void promoted_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } inline void promoted_updateGeometries() { QTreeView::updateGeometries(); } inline int promoted_verticalOffset() const { return QTreeView::verticalOffset(); } inline bool promoted_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } inline QRect promoted_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } }; class PythonQtWrapper_QTreeView : public QObject { Q_OBJECT public: public slots: QTreeView* new_QTreeView(QWidget* parent = 0); void delete_QTreeView(QTreeView* obj) { delete obj; } bool allColumnsShowFocus(QTreeView* theWrappedObject) const; int autoExpandDelay(QTreeView* theWrappedObject) const; int columnAt(QTreeView* theWrappedObject, int x) const; int columnViewportPosition(QTreeView* theWrappedObject, int column) const; int columnWidth(QTreeView* theWrappedObject, int column) const; void currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); void dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()); void doItemsLayout(QTreeView* theWrappedObject); void dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event); void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; QHeaderView* header(QTreeView* theWrappedObject) const; int horizontalOffset(QTreeView* theWrappedObject) const; void horizontalScrollbarAction(QTreeView* theWrappedObject, int action); int indentation(QTreeView* theWrappedObject) const; QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; QModelIndex indexAt(QTreeView* theWrappedObject, const QPoint& p) const; QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; bool isAnimated(QTreeView* theWrappedObject) const; bool isColumnHidden(QTreeView* theWrappedObject, int column) const; bool isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const; bool isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; bool isHeaderHidden(QTreeView* theWrappedObject) const; bool isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const; bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; bool isSortingEnabled(QTreeView* theWrappedObject) const; bool itemsExpandable(QTreeView* theWrappedObject) const; void keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event); void keyboardSearch(QTreeView* theWrappedObject, const QString& search); void mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event); void mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event); void mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event); void mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event); void paintEvent(QTreeView* theWrappedObject, QPaintEvent* event); void reset(QTreeView* theWrappedObject); bool rootIsDecorated(QTreeView* theWrappedObject) const; void rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); void rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); void scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy); void scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); void selectAll(QTreeView* theWrappedObject); QList selectedIndexes(QTreeView* theWrappedObject) const; void selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); void setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable); void setAnimated(QTreeView* theWrappedObject, bool enable); void setAutoExpandDelay(QTreeView* theWrappedObject, int delay); void setColumnHidden(QTreeView* theWrappedObject, int column, bool hide); void setColumnWidth(QTreeView* theWrappedObject, int column, int width); void setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand); void setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable); void setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span); void setHeader(QTreeView* theWrappedObject, QHeaderView* header); void setHeaderHidden(QTreeView* theWrappedObject, bool hide); void setIndentation(QTreeView* theWrappedObject, int i); void setItemsExpandable(QTreeView* theWrappedObject, bool enable); void setModel(QTreeView* theWrappedObject, QAbstractItemModel* model); void setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index); void setRootIsDecorated(QTreeView* theWrappedObject, bool show); void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); void setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); void setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel); void setSortingEnabled(QTreeView* theWrappedObject, bool enable); void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); void setWordWrap(QTreeView* theWrappedObject, bool on); int sizeHintForColumn(QTreeView* theWrappedObject, int column) const; void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order); void timerEvent(QTreeView* theWrappedObject, QTimerEvent* event); bool uniformRowHeights(QTreeView* theWrappedObject) const; void updateGeometries(QTreeView* theWrappedObject); int verticalOffset(QTreeView* theWrappedObject) const; bool viewportEvent(QTreeView* theWrappedObject, QEvent* event); QRect visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const; QRegion visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const; bool wordWrap(QTreeView* theWrappedObject) const; };